{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}\\file\UsersW$\wrr15\Home\My Documents\My Files\ATANDA AKINWANDE\BCD PAPER\HEALTH ECONOMICS revision\NEW DATA AND PROGRAMS (20171021)\TABLE4.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res} 9 Nov 2017, 19:03:14
{txt}
{com}. use "\\file\UsersW$\wrr15\Home\My Documents\My Files\ATANDA AKINWANDE\BCD PAPER\HEALTH ECONOMICS revision\NEW DATA AND PROGRAMS (20171021)\BCD_dataset_09_11_2017", clear
{txt}
{com}. 
. //ge phpnh = 100*phn
. 
. //ge lhl = 100*lhsl
. 
. summ phpnh lhl prod pop14 pop65 male lex infmo tobaco alcohc gdpg

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 7}phpnh {c |}{res}        503    99.84826    15.94281   51.52672   197.6775
{txt}{space 9}lhl {c |}{res}        392    9.943161    4.093125   2.146441   20.12945
{txt}{space 8}prod {c |}{res}        585    41.64198    16.01424   11.36031   97.53915
{txt}{space 7}pop14 {c |}{res}        616     17.8707    3.052274   12.99632   32.13839
{txt}{space 7}pop65 {c |}{res}        616    15.27248    2.870348   5.449982   21.71939
{txt}{hline 13}{c +}{hline 57}
{space 8}male {c |}{res}        616    49.02442    .7925885   46.14389    51.0963
{txt}{space 9}lex {c |}{res}        586    78.60239    2.859304       67.9       83.3
{txt}{space 7}infmo {c |}{res}        583    5.090738    4.187477         .9       40.9
{txt}{space 6}tobaco {c |}{res}        376    1711.806    652.1428        544       4612
{txt}{space 6}alcohc {c |}{res}        576    9.856076    2.662264        1.2       14.8
{txt}{hline 13}{c +}{hline 57}
{space 8}gdpg {c |}{res}        616    2.530686    3.031106   -14.7244   25.55729
{txt}
{com}. replace lhl = log(lhl)
{txt}(392 real changes made)

{com}. 
. sort country year
{txt}
{com}. xtset cid year
{res}{txt}{col 8}panel variable:  {res}cid (strongly balanced)
{txt}{col 9}time variable:  {res}{col 25}year, 1995 to 2016
{txt}{col 17}delta:  {res}1 unit
{txt}
{com}. 
. tabulate cid, gen(cid)

{txt}group(count {c |}
        ry) {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          1 {c |}{res}         22        3.57        3.57
{txt}          2 {c |}{res}         22        3.57        7.14
{txt}          3 {c |}{res}         22        3.57       10.71
{txt}          4 {c |}{res}         22        3.57       14.29
{txt}          5 {c |}{res}         22        3.57       17.86
{txt}          6 {c |}{res}         22        3.57       21.43
{txt}          7 {c |}{res}         22        3.57       25.00
{txt}          8 {c |}{res}         22        3.57       28.57
{txt}          9 {c |}{res}         22        3.57       32.14
{txt}         10 {c |}{res}         22        3.57       35.71
{txt}         11 {c |}{res}         22        3.57       39.29
{txt}         12 {c |}{res}         22        3.57       42.86
{txt}         13 {c |}{res}         22        3.57       46.43
{txt}         14 {c |}{res}         22        3.57       50.00
{txt}         15 {c |}{res}         22        3.57       53.57
{txt}         16 {c |}{res}         22        3.57       57.14
{txt}         17 {c |}{res}         22        3.57       60.71
{txt}         18 {c |}{res}         22        3.57       64.29
{txt}         19 {c |}{res}         22        3.57       67.86
{txt}         20 {c |}{res}         22        3.57       71.43
{txt}         21 {c |}{res}         22        3.57       75.00
{txt}         22 {c |}{res}         22        3.57       78.57
{txt}         23 {c |}{res}         22        3.57       82.14
{txt}         24 {c |}{res}         22        3.57       85.71
{txt}         25 {c |}{res}         22        3.57       89.29
{txt}         26 {c |}{res}         22        3.57       92.86
{txt}         27 {c |}{res}         22        3.57       96.43
{txt}         28 {c |}{res}         22        3.57      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}        616      100.00
{txt}
{com}. 
. forvalues i = 1/27 {c -(}
{txt}  2{com}.                 gen cidyear`i' = cid`i'*year
{txt}  3{com}. {c )-}
{txt}
{com}. 
. ////////////////////////////////////////////////////////////
> ///////////////////  LHL - Model (7) ///////////////////////
> ////////////////////////////////////////////////////////////
> 
. /////// First test for serial correlation
> xtserial lhl lprod k pop14 pop65 male llex linfmo cid1-cid27 year cidyear1-cidyear27

{txt}Wooldridge test for autocorrelation in panel data
H0: no first order autocorrelation
{col 5}F(  1,      26) = {res}    48.873
{txt}{col 12}Prob > F = {res}     0.0000
{txt}
{com}. 
. /////// Next test for cross-sectional correlation
> /////// I use the Pesaran test because it can be used with unbalanced data
> xtreg lhl lprod k pop14 pop65 male llex linfmo cid1-cid27 year cidyear1-cidyear27, fe
{p 0 6 2}{txt}note: cid1 omitted because of collinearity{p_end}
{p 0 6 2}note: cid2 omitted because of collinearity{p_end}
{p 0 6 2}note: cid3 omitted because of collinearity{p_end}
{p 0 6 2}note: cid4 omitted because of collinearity{p_end}
{p 0 6 2}note: cid5 omitted because of collinearity{p_end}
{p 0 6 2}note: cid6 omitted because of collinearity{p_end}
{p 0 6 2}note: cid7 omitted because of collinearity{p_end}
{p 0 6 2}note: cid8 omitted because of collinearity{p_end}
{p 0 6 2}note: cid9 omitted because of collinearity{p_end}
{p 0 6 2}note: cid10 omitted because of collinearity{p_end}
{p 0 6 2}note: cid11 omitted because of collinearity{p_end}
{p 0 6 2}note: cid12 omitted because of collinearity{p_end}
{p 0 6 2}note: cid13 omitted because of collinearity{p_end}
{p 0 6 2}note: cid14 omitted because of collinearity{p_end}
{p 0 6 2}note: cid15 omitted because of collinearity{p_end}
{p 0 6 2}note: cid16 omitted because of collinearity{p_end}
{p 0 6 2}note: cid17 omitted because of collinearity{p_end}
{p 0 6 2}note: cid18 omitted because of collinearity{p_end}
{p 0 6 2}note: cid19 omitted because of collinearity{p_end}
{p 0 6 2}note: cid20 omitted because of collinearity{p_end}
{p 0 6 2}note: cid21 omitted because of collinearity{p_end}
{p 0 6 2}note: cid22 omitted because of collinearity{p_end}
{p 0 6 2}note: cid23 omitted because of collinearity{p_end}
{p 0 6 2}note: cid24 omitted because of collinearity{p_end}
{p 0 6 2}note: cid25 omitted because of collinearity{p_end}
{p 0 6 2}note: cid26 omitted because of collinearity{p_end}
{p 0 6 2}note: cid27 omitted because of collinearity{p_end}
{p 0 6 2}note: cidyear20 omitted because of collinearity{p_end}
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       383
{txt}Group variable: {res}cid{txt}{col 49}Number of groups{col 67}={col 69}{res}        27

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.7603{col 63}{txt}min{col 67}={col 69}{res}         9
{txt}     between = {res}0.1373{col 63}{txt}avg{col 67}={col 69}{res}      14.2
{txt}     overall = {res}0.1468{col 63}{txt}max{col 67}={col 69}{res}        18

{txt}{col 49}F({res}34{txt},{res}322{txt}){col 67}={col 70}{res}    30.03
{txt}corr(u_i, Xb){col 16}= {res}-0.9999{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}         lhl{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}lprod {c |}{col 14}{res}{space 2}-.0373252{col 26}{space 2} .0950914{col 37}{space 1}   -0.39{col 46}{space 3}0.695{col 54}{space 4} -.224404{col 67}{space 3} .1497536
{txt}{space 11}k {c |}{col 14}{res}{space 2} .0051946{col 26}{space 2}  .002292{col 37}{space 1}    2.27{col 46}{space 3}0.024{col 54}{space 4} .0006854{col 67}{space 3} .0097038
{txt}{space 7}pop14 {c |}{col 14}{res}{space 2} .0269704{col 26}{space 2} .0102479{col 37}{space 1}    2.63{col 46}{space 3}0.009{col 54}{space 4}  .006809{col 67}{space 3} .0471317
{txt}{space 7}pop65 {c |}{col 14}{res}{space 2}-.0048363{col 26}{space 2} .0133382{col 37}{space 1}   -0.36{col 46}{space 3}0.717{col 54}{space 4}-.0310774{col 67}{space 3} .0214047
{txt}{space 8}male {c |}{col 14}{res}{space 2}-.0709185{col 26}{space 2} .0352233{col 37}{space 1}   -2.01{col 46}{space 3}0.045{col 54}{space 4}-.1402154{col 67}{space 3}-.0016216
{txt}{space 8}llex {c |}{col 14}{res}{space 2}-.8417073{col 26}{space 2}  .979465{col 37}{space 1}   -0.86{col 46}{space 3}0.391{col 54}{space 4}-2.768666{col 67}{space 3} 1.085252
{txt}{space 6}linfmo {c |}{col 14}{res}{space 2}  .002124{col 26}{space 2} .0260717{col 37}{space 1}    0.08{col 46}{space 3}0.935{col 54}{space 4}-.0491685{col 67}{space 3} .0534164
{txt}{space 8}cid1 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid2 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid3 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid4 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid5 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid6 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid7 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid8 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid9 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid10 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid11 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid12 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid13 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid14 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid15 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid16 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid17 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid18 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid19 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid20 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid21 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid22 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid23 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid24 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid25 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid26 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid27 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}year {c |}{col 14}{res}{space 2} .0269942{col 26}{space 2}  .006541{col 37}{space 1}    4.13{col 46}{space 3}0.000{col 54}{space 4} .0141257{col 67}{space 3} .0398628
{txt}{space 4}cidyear1 {c |}{col 14}{res}{space 2}-.0022254{col 26}{space 2} .0051487{col 37}{space 1}   -0.43{col 46}{space 3}0.666{col 54}{space 4}-.0123547{col 67}{space 3} .0079039
{txt}{space 4}cidyear2 {c |}{col 14}{res}{space 2}-.0001399{col 26}{space 2} .0056814{col 37}{space 1}   -0.02{col 46}{space 3}0.980{col 54}{space 4}-.0113173{col 67}{space 3} .0110375
{txt}{space 4}cidyear3 {c |}{col 14}{res}{space 2}-.0001739{col 26}{space 2} .0054459{col 37}{space 1}   -0.03{col 46}{space 3}0.975{col 54}{space 4} -.010888{col 67}{space 3} .0105402
{txt}{space 4}cidyear4 {c |}{col 14}{res}{space 2}-.0051485{col 26}{space 2} .0051351{col 37}{space 1}   -1.00{col 46}{space 3}0.317{col 54}{space 4}-.0152511{col 67}{space 3}  .004954
{txt}{space 4}cidyear5 {c |}{col 14}{res}{space 2} .0045942{col 26}{space 2} .0061095{col 37}{space 1}    0.75{col 46}{space 3}0.453{col 54}{space 4}-.0074254{col 67}{space 3} .0166137
{txt}{space 4}cidyear6 {c |}{col 14}{res}{space 2}-.0185482{col 26}{space 2} .0061962{col 37}{space 1}   -2.99{col 46}{space 3}0.003{col 54}{space 4}-.0307383{col 67}{space 3}-.0063581
{txt}{space 4}cidyear7 {c |}{col 14}{res}{space 2} -.003996{col 26}{space 2}  .009453{col 37}{space 1}   -0.42{col 46}{space 3}0.673{col 54}{space 4}-.0225935{col 67}{space 3} .0146015
{txt}{space 4}cidyear8 {c |}{col 14}{res}{space 2}-.0086851{col 26}{space 2} .0056118{col 37}{space 1}   -1.55{col 46}{space 3}0.123{col 54}{space 4}-.0197255{col 67}{space 3} .0023554
{txt}{space 4}cidyear9 {c |}{col 14}{res}{space 2}-.0162982{col 26}{space 2} .0061151{col 37}{space 1}   -2.67{col 46}{space 3}0.008{col 54}{space 4}-.0283288{col 67}{space 3}-.0042677
{txt}{space 3}cidyear10 {c |}{col 14}{res}{space 2} .0053373{col 26}{space 2} .0063189{col 37}{space 1}    0.84{col 46}{space 3}0.399{col 54}{space 4}-.0070943{col 67}{space 3} .0177689
{txt}{space 3}cidyear11 {c |}{col 14}{res}{space 2}-.0027848{col 26}{space 2} .0062548{col 37}{space 1}   -0.45{col 46}{space 3}0.656{col 54}{space 4}-.0150903{col 67}{space 3} .0095206
{txt}{space 3}cidyear12 {c |}{col 14}{res}{space 2}-.0127229{col 26}{space 2} .0076024{col 37}{space 1}   -1.67{col 46}{space 3}0.095{col 54}{space 4}-.0276795{col 67}{space 3} .0022337
{txt}{space 3}cidyear13 {c |}{col 14}{res}{space 2}-.0201437{col 26}{space 2} .0054515{col 37}{space 1}   -3.70{col 46}{space 3}0.000{col 54}{space 4}-.0308689{col 67}{space 3}-.0094186
{txt}{space 3}cidyear14 {c |}{col 14}{res}{space 2} .0170783{col 26}{space 2}  .006032{col 37}{space 1}    2.83{col 46}{space 3}0.005{col 54}{space 4} .0052112{col 67}{space 3} .0289454
{txt}{space 3}cidyear15 {c |}{col 14}{res}{space 2}-.0082135{col 26}{space 2} .0055296{col 37}{space 1}   -1.49{col 46}{space 3}0.138{col 54}{space 4}-.0190922{col 67}{space 3} .0026652
{txt}{space 3}cidyear16 {c |}{col 14}{res}{space 2} .0043864{col 26}{space 2} .0059195{col 37}{space 1}    0.74{col 46}{space 3}0.459{col 54}{space 4}-.0072593{col 67}{space 3} .0160322
{txt}{space 3}cidyear17 {c |}{col 14}{res}{space 2}-.0048579{col 26}{space 2}  .005722{col 37}{space 1}   -0.85{col 46}{space 3}0.397{col 54}{space 4}-.0161152{col 67}{space 3} .0063993
{txt}{space 3}cidyear18 {c |}{col 14}{res}{space 2} .0014042{col 26}{space 2} .0056583{col 37}{space 1}    0.25{col 46}{space 3}0.804{col 54}{space 4}-.0097277{col 67}{space 3} .0125362
{txt}{space 3}cidyear19 {c |}{col 14}{res}{space 2}-.0058567{col 26}{space 2} .0072749{col 37}{space 1}   -0.81{col 46}{space 3}0.421{col 54}{space 4}-.0201691{col 67}{space 3} .0084556
{txt}{space 3}cidyear20 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 3}cidyear21 {c |}{col 14}{res}{space 2} .0152504{col 26}{space 2} .0059768{col 37}{space 1}    2.55{col 46}{space 3}0.011{col 54}{space 4}  .003492{col 67}{space 3} .0270088
{txt}{space 3}cidyear22 {c |}{col 14}{res}{space 2}-.0368414{col 26}{space 2} .0086875{col 37}{space 1}   -4.24{col 46}{space 3}0.000{col 54}{space 4}-.0539329{col 67}{space 3}  -.01975
{txt}{space 3}cidyear23 {c |}{col 14}{res}{space 2}-.0036466{col 26}{space 2} .0056672{col 37}{space 1}   -0.64{col 46}{space 3}0.520{col 54}{space 4} -.014796{col 67}{space 3} .0075029
{txt}{space 3}cidyear24 {c |}{col 14}{res}{space 2}-.0388465{col 26}{space 2}  .006678{col 37}{space 1}   -5.82{col 46}{space 3}0.000{col 54}{space 4}-.0519846{col 67}{space 3}-.0257084
{txt}{space 3}cidyear25 {c |}{col 14}{res}{space 2} .0006229{col 26}{space 2} .0053789{col 37}{space 1}    0.12{col 46}{space 3}0.908{col 54}{space 4}-.0099592{col 67}{space 3} .0112051
{txt}{space 3}cidyear26 {c |}{col 14}{res}{space 2} .0202204{col 26}{space 2} .0086479{col 37}{space 1}    2.34{col 46}{space 3}0.020{col 54}{space 4} .0032069{col 67}{space 3} .0372339
{txt}{space 3}cidyear27 {c |}{col 14}{res}{space 2}-.0035691{col 26}{space 2} .0053732{col 37}{space 1}   -0.66{col 46}{space 3}0.507{col 54}{space 4}-.0141401{col 67}{space 3}  .007002
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} -37.7596{col 26}{space 2} 9.628687{col 37}{space 1}   -3.92{col 46}{space 3}0.000{col 54}{space 4}-56.70268{col 67}{space 3}-18.81652
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} 27.328126
     {txt}sigma_e {c |} {res} .04642964
         {txt}rho {c |} {res} .99999711{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
F test that all u_i=0: F({res}26{txt}, {res}322{txt}) = {res}12.50{col 62}{txt}Prob > F = {res}0.0000
{txt}
{com}. xtcsd, pesaran
{res} 
 
{txt}Pesaran's test of cross sectional independence = {res}    9.541{txt}, Pr = {res}0.0000
{txt}
{com}. 
. /////// Next I estimate the model using PCSE
> xtpcse lhl lprod k pop14 pop65 male llex linfmo cid1-cid27 year cidyear1-cidyear27, correlation(ar1)
{txt}note: cid20 omitted because of collinearity
note: cidyear20 omitted because of collinearity
(note: the number of observations per panel, e(n_sigma) = 4,
       used to compute the disturbance of covariance matrix e(Sigma)
       is less than half of the average number of observations per panel,
       e(n_avg) = 14.185185; you may want to consider the pairwise option)
{res}
{txt}Prais-Winsten regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}cid{col 49}{txt}Number of obs{col 67}= {res}       383
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        27
{txt}Panels:{col 19}{res}correlated (unbalanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}common AR(1){col 63}{txt}min{col 67}= {res}         9
{txt}Sigma computed by {col 19}{res}casewise selection{txt}{col 63}avg{col 67}= {res} 14.185185
{txt}{col 63}max{col 67}= {res}        18
{txt}Estimated covariances{col 28}= {res}      378{col 49}{txt}R-squared{col 67}= {res}    0.9846
{txt}Estimated autocorrelations{col 28}= {res}        1{col 49}{txt}Wald chi2({res}44{txt}){col 67}= {res}6302490.99
{txt}Estimated coefficients{col 28}= {res}       61{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}Panel-corrected
{col 1}         lhl{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}lprod {c |}{col 14}{res}{space 2} .0004436{col 26}{space 2} .0790117{col 37}{space 1}    0.01{col 46}{space 3}0.996{col 54}{space 4}-.1544164{col 67}{space 3} .1553037
{txt}{space 11}k {c |}{col 14}{res}{space 2} .0031413{col 26}{space 2} .0029964{col 37}{space 1}    1.05{col 46}{space 3}0.294{col 54}{space 4}-.0027315{col 67}{space 3}  .009014
{txt}{space 7}pop14 {c |}{col 14}{res}{space 2} .0188845{col 26}{space 2} .0098909{col 37}{space 1}    1.91{col 46}{space 3}0.056{col 54}{space 4}-.0005013{col 67}{space 3} .0382702
{txt}{space 7}pop65 {c |}{col 14}{res}{space 2}-.0046134{col 26}{space 2} .0086488{col 37}{space 1}   -0.53{col 46}{space 3}0.594{col 54}{space 4}-.0215647{col 67}{space 3} .0123378
{txt}{space 8}male {c |}{col 14}{res}{space 2}-.0723235{col 26}{space 2} .0562665{col 37}{space 1}   -1.29{col 46}{space 3}0.199{col 54}{space 4}-.1826039{col 67}{space 3} .0379569
{txt}{space 8}llex {c |}{col 14}{res}{space 2}-1.341867{col 26}{space 2} 1.119926{col 37}{space 1}   -1.20{col 46}{space 3}0.231{col 54}{space 4}-3.536881{col 67}{space 3} .8531473
{txt}{space 6}linfmo {c |}{col 14}{res}{space 2} .0065977{col 26}{space 2} .0331876{col 37}{space 1}    0.20{col 46}{space 3}0.842{col 54}{space 4}-.0584489{col 67}{space 3} .0716443
{txt}{space 8}cid1 {c |}{col 14}{res}{space 2}-.2461501{col 26}{space 2} 5.164607{col 37}{space 1}   -0.05{col 46}{space 3}0.962{col 54}{space 4}-10.36859{col 67}{space 3} 9.876294
{txt}{space 8}cid2 {c |}{col 14}{res}{space 2}-2.157189{col 26}{space 2}  6.36722{col 37}{space 1}   -0.34{col 46}{space 3}0.735{col 54}{space 4}-14.63671{col 67}{space 3} 10.32233
{txt}{space 8}cid3 {c |}{col 14}{res}{space 2}-4.739746{col 26}{space 2} 6.767084{col 37}{space 1}   -0.70{col 46}{space 3}0.484{col 54}{space 4}-18.00299{col 67}{space 3} 8.523495
{txt}{space 8}cid4 {c |}{col 14}{res}{space 2} 8.792635{col 26}{space 2}  4.91396{col 37}{space 1}    1.79{col 46}{space 3}0.074{col 54}{space 4}-.8385504{col 67}{space 3} 18.42382
{txt}{space 8}cid5 {c |}{col 14}{res}{space 2}-10.05412{col 26}{space 2} 7.652345{col 37}{space 1}   -1.31{col 46}{space 3}0.189{col 54}{space 4}-25.05244{col 67}{space 3} 4.944196
{txt}{space 8}cid6 {c |}{col 14}{res}{space 2} 29.88006{col 26}{space 2} 7.920146{col 37}{space 1}    3.77{col 46}{space 3}0.000{col 54}{space 4} 14.35686{col 67}{space 3} 45.40326
{txt}{space 8}cid7 {c |}{col 14}{res}{space 2}-4.420363{col 26}{space 2} 22.14163{col 37}{space 1}   -0.20{col 46}{space 3}0.842{col 54}{space 4}-47.81715{col 67}{space 3} 38.97643
{txt}{space 8}cid8 {c |}{col 14}{res}{space 2} 15.12023{col 26}{space 2} 4.524441{col 37}{space 1}    3.34{col 46}{space 3}0.001{col 54}{space 4} 6.252488{col 67}{space 3} 23.98797
{txt}{space 8}cid9 {c |}{col 14}{res}{space 2} 27.87772{col 26}{space 2} 5.141789{col 37}{space 1}    5.42{col 46}{space 3}0.000{col 54}{space 4}     17.8{col 67}{space 3} 37.95544
{txt}{space 7}cid10 {c |}{col 14}{res}{space 2}-14.00503{col 26}{space 2} 6.849197{col 37}{space 1}   -2.04{col 46}{space 3}0.041{col 54}{space 4}-27.42921{col 67}{space 3} -.580848
{txt}{space 7}cid11 {c |}{col 14}{res}{space 2} 2.003554{col 26}{space 2} 11.59823{col 37}{space 1}    0.17{col 46}{space 3}0.863{col 54}{space 4}-20.72855{col 67}{space 3} 24.73566
{txt}{space 7}cid12 {c |}{col 14}{res}{space 2} 24.06247{col 26}{space 2} 12.29148{col 37}{space 1}    1.96{col 46}{space 3}0.050{col 54}{space 4}-.0283775{col 67}{space 3} 48.15333
{txt}{space 7}cid13 {c |}{col 14}{res}{space 2} 39.07261{col 26}{space 2} 10.82798{col 37}{space 1}    3.61{col 46}{space 3}0.000{col 54}{space 4} 17.85017{col 67}{space 3} 60.29506
{txt}{space 7}cid14 {c |}{col 14}{res}{space 2}-36.35999{col 26}{space 2} 6.024168{col 37}{space 1}   -6.04{col 46}{space 3}0.000{col 54}{space 4}-48.16714{col 67}{space 3}-24.55284
{txt}{space 7}cid15 {c |}{col 14}{res}{space 2} 9.797917{col 26}{space 2} 8.159286{col 37}{space 1}    1.20{col 46}{space 3}0.230{col 54}{space 4}-6.193991{col 67}{space 3} 25.78982
{txt}{space 7}cid16 {c |}{col 14}{res}{space 2} -14.6818{col 26}{space 2} 6.717176{col 37}{space 1}   -2.19{col 46}{space 3}0.029{col 54}{space 4}-27.84722{col 67}{space 3}-1.516379
{txt}{space 7}cid17 {c |}{col 14}{res}{space 2} 6.910329{col 26}{space 2} 5.935538{col 37}{space 1}    1.16{col 46}{space 3}0.244{col 54}{space 4}-4.723112{col 67}{space 3} 18.54377
{txt}{space 7}cid18 {c |}{col 14}{res}{space 2}-5.637796{col 26}{space 2} 7.193121{col 37}{space 1}   -0.78{col 46}{space 3}0.433{col 54}{space 4}-19.73605{col 67}{space 3} 8.460462
{txt}{space 7}cid19 {c |}{col 14}{res}{space 2} 10.01541{col 26}{space 2} 7.001729{col 37}{space 1}    1.43{col 46}{space 3}0.153{col 54}{space 4}-3.707722{col 67}{space 3} 23.73855
{txt}{space 7}cid20 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid21 {c |}{col 14}{res}{space 2}-30.26194{col 26}{space 2} 11.85369{col 37}{space 1}   -2.55{col 46}{space 3}0.011{col 54}{space 4}-53.49474{col 67}{space 3}-7.029133
{txt}{space 7}cid22 {c |}{col 14}{res}{space 2} 90.27619{col 26}{space 2} 38.25499{col 37}{space 1}    2.36{col 46}{space 3}0.018{col 54}{space 4}  15.2978{col 67}{space 3} 165.2546
{txt}{space 7}cid23 {c |}{col 14}{res}{space 2} .5521511{col 26}{space 2} 5.043809{col 37}{space 1}    0.11{col 46}{space 3}0.913{col 54}{space 4}-9.333533{col 67}{space 3} 10.43783
{txt}{space 7}cid24 {c |}{col 14}{res}{space 2} 75.05337{col 26}{space 2} 13.02425{col 37}{space 1}    5.76{col 46}{space 3}0.000{col 54}{space 4} 49.52631{col 67}{space 3} 100.5804
{txt}{space 7}cid25 {c |}{col 14}{res}{space 2}-4.750477{col 26}{space 2} 4.171986{col 37}{space 1}   -1.14{col 46}{space 3}0.255{col 54}{space 4}-12.92742{col 67}{space 3} 3.426465
{txt}{space 7}cid26 {c |}{col 14}{res}{space 2}-41.79728{col 26}{space 2} 16.64402{col 37}{space 1}   -2.51{col 46}{space 3}0.012{col 54}{space 4}-74.41895{col 67}{space 3}-9.175609
{txt}{space 7}cid27 {c |}{col 14}{res}{space 2} 3.648763{col 26}{space 2} 5.409796{col 37}{space 1}    0.67{col 46}{space 3}0.500{col 54}{space 4}-6.954243{col 67}{space 3} 14.25177
{txt}{space 8}year {c |}{col 14}{res}{space 2}  .024077{col 26}{space 2} .0053964{col 37}{space 1}    4.46{col 46}{space 3}0.000{col 54}{space 4} .0135003{col 67}{space 3} .0346538
{txt}{space 4}cidyear1 {c |}{col 14}{res}{space 2} .0000961{col 26}{space 2} .0025763{col 37}{space 1}    0.04{col 46}{space 3}0.970{col 54}{space 4}-.0049533{col 67}{space 3} .0051455
{txt}{space 4}cidyear2 {c |}{col 14}{res}{space 2} .0009581{col 26}{space 2} .0031754{col 37}{space 1}    0.30{col 46}{space 3}0.763{col 54}{space 4}-.0052657{col 67}{space 3} .0071818
{txt}{space 4}cidyear3 {c |}{col 14}{res}{space 2} .0024116{col 26}{space 2} .0033711{col 37}{space 1}    0.72{col 46}{space 3}0.474{col 54}{space 4}-.0041957{col 67}{space 3} .0090189
{txt}{space 4}cidyear4 {c |}{col 14}{res}{space 2}-.0043781{col 26}{space 2} .0024512{col 37}{space 1}   -1.79{col 46}{space 3}0.074{col 54}{space 4}-.0091823{col 67}{space 3} .0004261
{txt}{space 4}cidyear5 {c |}{col 14}{res}{space 2} .0047428{col 26}{space 2} .0038135{col 37}{space 1}    1.24{col 46}{space 3}0.214{col 54}{space 4}-.0027316{col 67}{space 3} .0122171
{txt}{space 4}cidyear6 {c |}{col 14}{res}{space 2}-.0146848{col 26}{space 2} .0039468{col 37}{space 1}   -3.72{col 46}{space 3}0.000{col 54}{space 4}-.0224204{col 67}{space 3}-.0069493
{txt}{space 4}cidyear7 {c |}{col 14}{res}{space 2} .0017275{col 26}{space 2} .0110056{col 37}{space 1}    0.16{col 46}{space 3}0.875{col 54}{space 4}-.0198431{col 67}{space 3}  .023298
{txt}{space 4}cidyear8 {c |}{col 14}{res}{space 2}-.0074034{col 26}{space 2} .0022565{col 37}{space 1}   -3.28{col 46}{space 3}0.001{col 54}{space 4}-.0118261{col 67}{space 3}-.0029808
{txt}{space 4}cidyear9 {c |}{col 14}{res}{space 2}-.0140178{col 26}{space 2}  .002569{col 37}{space 1}   -5.46{col 46}{space 3}0.000{col 54}{space 4}-.0190528{col 67}{space 3}-.0089827
{txt}{space 3}cidyear10 {c |}{col 14}{res}{space 2} .0070149{col 26}{space 2} .0034258{col 37}{space 1}    2.05{col 46}{space 3}0.041{col 54}{space 4} .0003005{col 67}{space 3} .0137293
{txt}{space 3}cidyear11 {c |}{col 14}{res}{space 2}-.0013585{col 26}{space 2} .0057956{col 37}{space 1}   -0.23{col 46}{space 3}0.815{col 54}{space 4}-.0127177{col 67}{space 3} .0100008
{txt}{space 3}cidyear12 {c |}{col 14}{res}{space 2}-.0123488{col 26}{space 2} .0061471{col 37}{space 1}   -2.01{col 46}{space 3}0.045{col 54}{space 4}-.0243968{col 67}{space 3}-.0003007
{txt}{space 3}cidyear13 {c |}{col 14}{res}{space 2}-.0193714{col 26}{space 2} .0054066{col 37}{space 1}   -3.58{col 46}{space 3}0.000{col 54}{space 4}-.0299681{col 67}{space 3}-.0087748
{txt}{space 3}cidyear14 {c |}{col 14}{res}{space 2} .0180598{col 26}{space 2} .0030045{col 37}{space 1}    6.01{col 46}{space 3}0.000{col 54}{space 4}  .012171{col 67}{space 3} .0239485
{txt}{space 3}cidyear15 {c |}{col 14}{res}{space 2} -.005103{col 26}{space 2} .0040662{col 37}{space 1}   -1.25{col 46}{space 3}0.209{col 54}{space 4}-.0130725{col 67}{space 3} .0028666
{txt}{space 3}cidyear16 {c |}{col 14}{res}{space 2} .0071104{col 26}{space 2} .0033529{col 37}{space 1}    2.12{col 46}{space 3}0.034{col 54}{space 4} .0005388{col 67}{space 3} .0136819
{txt}{space 3}cidyear17 {c |}{col 14}{res}{space 2}-.0032929{col 26}{space 2} .0029569{col 37}{space 1}   -1.11{col 46}{space 3}0.265{col 54}{space 4}-.0090882{col 67}{space 3} .0025025
{txt}{space 3}cidyear18 {c |}{col 14}{res}{space 2} .0026685{col 26}{space 2} .0035979{col 37}{space 1}    0.74{col 46}{space 3}0.458{col 54}{space 4}-.0043832{col 67}{space 3} .0097202
{txt}{space 3}cidyear19 {c |}{col 14}{res}{space 2} -.004712{col 26}{space 2} .0034986{col 37}{space 1}   -1.35{col 46}{space 3}0.178{col 54}{space 4}-.0115692{col 67}{space 3} .0021453
{txt}{space 3}cidyear20 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 3}cidyear21 {c |}{col 14}{res}{space 2} .0147563{col 26}{space 2} .0059261{col 37}{space 1}    2.49{col 46}{space 3}0.013{col 54}{space 4} .0031413{col 67}{space 3} .0263713
{txt}{space 3}cidyear22 {c |}{col 14}{res}{space 2}-.0454326{col 26}{space 2} .0190938{col 37}{space 1}   -2.38{col 46}{space 3}0.017{col 54}{space 4}-.0828556{col 67}{space 3}-.0080095
{txt}{space 3}cidyear23 {c |}{col 14}{res}{space 2}-.0005436{col 26}{space 2} .0025133{col 37}{space 1}   -0.22{col 46}{space 3}0.829{col 54}{space 4}-.0054696{col 67}{space 3} .0043823
{txt}{space 3}cidyear24 {c |}{col 14}{res}{space 2} -.037204{col 26}{space 2} .0065067{col 37}{space 1}   -5.72{col 46}{space 3}0.000{col 54}{space 4}-.0499569{col 67}{space 3}-.0244512
{txt}{space 3}cidyear25 {c |}{col 14}{res}{space 2} .0023979{col 26}{space 2}  .002087{col 37}{space 1}    1.15{col 46}{space 3}0.251{col 54}{space 4}-.0016925{col 67}{space 3} .0064883
{txt}{space 3}cidyear26 {c |}{col 14}{res}{space 2} .0199713{col 26}{space 2} .0082851{col 37}{space 1}    2.41{col 46}{space 3}0.016{col 54}{space 4} .0037328{col 67}{space 3} .0362099
{txt}{space 3}cidyear27 {c |}{col 14}{res}{space 2}-.0018009{col 26}{space 2} .0026921{col 37}{space 1}   -0.67{col 46}{space 3}0.504{col 54}{space 4}-.0070773{col 67}{space 3} .0034755
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-36.99787{col 26}{space 2} 8.533291{col 37}{space 1}   -4.34{col 46}{space 3}0.000{col 54}{space 4}-53.72281{col 67}{space 3}-20.27292
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
         rho {c |}  {res} .3766532
{txt}{hline 13}{c BT}{hline 64}

{com}. // I couldn't estimate the PCSE model because I obtained the following error message:
. //no time periods are common to all panels, cannot estimate disturbance
. //covariance matrix using casewise inclusion
. 
. /////// Finally, I used the different heterogeneous panel models
> xtmg lhl lprod k pop14 pop65 male llex linfmo, trend 
{txt}{col 2}Note: {res}9{txt} obs. dropped (panels too small)


Pesaran & Smith (1995) Mean Group estimator

All coefficients present represent averages across groups ({res}cid{txt})
Coefficient averages computed as {res}unweighted{txt} means

Mean Group type estimation{col 49}Number of obs{col 67}={col 69}{res}       374
{txt}Group variable: {res}cid{col 49}{txt}Number of groups{col 67}={col 69}{res}        26

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}        10
{txt}{col 63}avg{col 67}={col 69}{res}      14.4
{txt}{col 63}max{col 67}={col 69}{res}        18

{txt}{col 49}Wald chi2({res}7{txt}){col 67}={col 70}{res}     7.90
{txt}{col 49}Prob > chi2{col 67}={res}{col 73}0.3416

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}         lhl{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}lprod {c |}{col 14}{res}{space 2}-.0924048{col 26}{space 2} .2466974{col 37}{space 1}   -0.37{col 46}{space 3}0.708{col 54}{space 4}-.5759228{col 67}{space 3} .3911132
{txt}{space 11}k {c |}{col 14}{res}{space 2} .0023036{col 26}{space 2} .0043441{col 37}{space 1}    0.53{col 46}{space 3}0.596{col 54}{space 4}-.0062107{col 67}{space 3} .0108179
{txt}{space 7}pop14 {c |}{col 14}{res}{space 2}-.0412637{col 26}{space 2}   .08782{col 37}{space 1}   -0.47{col 46}{space 3}0.638{col 54}{space 4}-.2133878{col 67}{space 3} .1308603
{txt}{space 7}pop65 {c |}{col 14}{res}{space 2}-.1643877{col 26}{space 2} .1596656{col 37}{space 1}   -1.03{col 46}{space 3}0.303{col 54}{space 4}-.4773265{col 67}{space 3} .1485511
{txt}{space 8}male {c |}{col 14}{res}{space 2} .0120337{col 26}{space 2} .3745604{col 37}{space 1}    0.03{col 46}{space 3}0.974{col 54}{space 4}-.7220912{col 67}{space 3} .7461585
{txt}{space 8}llex {c |}{col 14}{res}{space 2}-1.024633{col 26}{space 2}  2.56001{col 37}{space 1}   -0.40{col 46}{space 3}0.689{col 54}{space 4}-6.042161{col 67}{space 3} 3.992894
{txt}{space 6}linfmo {c |}{col 14}{res}{space 2}  .063968{col 26}{space 2} .0652593{col 37}{space 1}    0.98{col 46}{space 3}0.327{col 54}{space 4}-.0639379{col 67}{space 3} .1918739
{txt}{space 2}__000007_t {c |}{col 14}{res}{space 2} .0636718{col 26}{space 2} .0450221{col 37}{space 1}    1.41{col 46}{space 3}0.157{col 54}{space 4}-.0245698{col 67}{space 3} .1519134
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} 10.14685{col 26}{space 2} 23.28516{col 37}{space 1}    0.44{col 46}{space 3}0.663{col 54}{space 4}-35.49122{col 67}{space 3} 55.78492
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Root Mean Squared Error (sigma): {res}0.0175
{txt}Variable {res}__000007_t{txt} refers to a group-specific linear trend.
Share of group-specific trends significant at 5% level: {res}0.077 (= 2 trends)
{txt}
{com}. xtmg lhl lprod k pop14 pop65 male llex linfmo, cce trend 
{txt}{col 2}Note: {res}9{txt} obs. dropped (panels too small)


Pesaran (2006) Common Correlated Effects Mean Group estimator

All coefficients present represent averages across groups ({res}cid{txt})
Coefficient averages computed as {res}unweighted{txt} means

Mean Group type estimation{col 49}Number of obs{col 67}={col 69}{res}       374
{txt}Group variable: {res}cid{col 49}{txt}Number of groups{col 67}={col 69}{res}        26

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}        10
{txt}{col 63}avg{col 67}={col 69}{res}      14.4
{txt}{col 63}max{col 67}={col 69}{res}        18

{txt}{col 49}Wald chi2({res}7{txt}){col 67}={col 70}{res}     4.73
{txt}{col 49}Prob > chi2{col 67}={res}{col 73}0.6934

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}            lhl{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 10}lprod {c |}{col 17}{res}{space 2}-.0646546{col 29}{space 2} .4181679{col 40}{space 1}   -0.15{col 49}{space 3}0.877{col 57}{space 4}-.8842486{col 70}{space 3} .7549395
{txt}{space 14}k {c |}{col 17}{res}{space 2}-.0260888{col 29}{space 2} .0234508{col 40}{space 1}   -1.11{col 49}{space 3}0.266{col 57}{space 4}-.0720515{col 70}{space 3}  .019874
{txt}{space 10}pop14 {c |}{col 17}{res}{space 2} .1949724{col 29}{space 2} .1497849{col 40}{space 1}    1.30{col 49}{space 3}0.193{col 57}{space 4}-.0986007{col 70}{space 3} .4885454
{txt}{space 10}pop65 {c |}{col 17}{res}{space 2} .0441665{col 29}{space 2} .2334274{col 40}{space 1}    0.19{col 49}{space 3}0.850{col 57}{space 4}-.4133428{col 70}{space 3} .5016757
{txt}{space 11}male {c |}{col 17}{res}{space 2}-.1162503{col 29}{space 2} .4088789{col 40}{space 1}   -0.28{col 49}{space 3}0.776{col 57}{space 4}-.9176382{col 70}{space 3} .6851376
{txt}{space 11}llex {c |}{col 17}{res}{space 2} .5940553{col 29}{space 2} 1.257243{col 40}{space 1}    0.47{col 49}{space 3}0.637{col 57}{space 4}-1.870096{col 70}{space 3} 3.058206
{txt}{space 9}linfmo {c |}{col 17}{res}{space 2}  .053284{col 29}{space 2} .1210391{col 40}{space 1}    0.44{col 49}{space 3}0.660{col 57}{space 4}-.1839483{col 70}{space 3} .2905164
{txt}{space 5}__000007_t {c |}{col 17}{res}{space 2} .0565333{col 29}{space 2} .0526559{col 40}{space 1}    1.07{col 49}{space 3}0.283{col 57}{space 4}-.0466703{col 70}{space 3} .1597369
{txt}{space 3}__00000M_lhl {c |}{col 17}{res}{space 2} .1428826{col 29}{space 2} .5350726{col 40}{space 1}    0.27{col 49}{space 3}0.789{col 57}{space 4}-.9058404{col 70}{space 3} 1.191606
{txt}{space 1}__00000L_lprod {c |}{col 17}{res}{space 2} .5637721{col 29}{space 2} .4377343{col 40}{space 1}    1.29{col 49}{space 3}0.198{col 57}{space 4}-.2941715{col 70}{space 3} 1.421716
{txt}{space 5}__00000L_k {c |}{col 17}{res}{space 2} .0236749{col 29}{space 2} .0186329{col 40}{space 1}    1.27{col 49}{space 3}0.204{col 57}{space 4}-.0128448{col 70}{space 3} .0601947
{txt}{space 1}__00000L_pop14 {c |}{col 17}{res}{space 2} .1397813{col 29}{space 2} .1944804{col 40}{space 1}    0.72{col 49}{space 3}0.472{col 57}{space 4}-.2413933{col 70}{space 3} .5209558
{txt}{space 1}__00000L_pop65 {c |}{col 17}{res}{space 2} .1999614{col 29}{space 2} .2139783{col 40}{space 1}    0.93{col 49}{space 3}0.350{col 57}{space 4}-.2194284{col 70}{space 3} .6193512
{txt}{space 2}__00000L_male {c |}{col 17}{res}{space 2} .1394825{col 29}{space 2} .1521717{col 40}{space 1}    0.92{col 49}{space 3}0.359{col 57}{space 4}-.1587685{col 70}{space 3} .4377335
{txt}{space 2}__00000L_llex {c |}{col 17}{res}{space 2}-1.811179{col 29}{space 2} 2.082432{col 40}{space 1}   -0.87{col 49}{space 3}0.384{col 57}{space 4}-5.892671{col 70}{space 3} 2.270313
{txt}__00000L_linfmo {c |}{col 17}{res}{space 2} .2709307{col 29}{space 2}  .295846{col 40}{space 1}    0.92{col 49}{space 3}0.360{col 57}{space 4}-.3089167{col 70}{space 3} .8507781
{txt}{space 10}_cons {c |}{col 17}{res}{space 2}-4.392421{col 29}{space 2} 21.21203{col 40}{space 1}   -0.21{col 49}{space 3}0.836{col 57}{space 4}-45.96723{col 70}{space 3} 37.18239
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Root Mean Squared Error (sigma): {res}0.0053
{txt}Cross-section averaged {res}regressors{txt} are marked by the suffix: 
{res}   _lhl, _lprod, _k, _pop14, _pop65, _male, _llex, _linfmo{txt} respectively.
Variable {res}__000007_t{txt} refers to a group-specific linear trend.
Share of group-specific trends significant at 5% level: {res}0.000 (= 0 trends)
{txt}Note that augmentation of the CCEMG estimator should account for the impact of
group-specific linear trends. The latter are unidentified.

{com}. xtmg lhl lprod k pop14 pop65 male llex linfmo, aug trend 
{txt}{col 2}Note: {res}19{txt} obs. dropped (panels too small)


Augmented Mean Group estimator (Bond & Eberhardt, 2009; Eberhardt & Teal, 2010)

Common dynamic process {res}included{txt} as additional regressor
All coefficients present represent averages across groups ({res}cid{txt})
Coefficient averages computed as {res}unweighted{txt} means

Mean Group type estimation{col 49}Number of obs{col 67}={col 69}{res}       364
{txt}Group variable: {res}cid{col 49}{txt}Number of groups{col 67}={col 69}{res}        25

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}        11
{txt}{col 63}avg{col 67}={col 69}{res}      14.6
{txt}{col 63}max{col 67}={col 69}{res}        18

{txt}{col 49}Wald chi2({res}7{txt}){col 67}={col 70}{res}     7.43
{txt}{col 49}Prob > chi2{col 67}={res}{col 73}0.3855

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}         lhl{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}lprod {c |}{col 14}{res}{space 2}-.2336218{col 26}{space 2} .1410234{col 37}{space 1}   -1.66{col 46}{space 3}0.098{col 54}{space 4}-.5100226{col 67}{space 3}  .042779
{txt}{space 11}k {c |}{col 14}{res}{space 2} -.004835{col 26}{space 2} .0042026{col 37}{space 1}   -1.15{col 46}{space 3}0.250{col 54}{space 4}-.0130719{col 67}{space 3} .0034018
{txt}{space 7}pop14 {c |}{col 14}{res}{space 2} -.025087{col 26}{space 2} .0569934{col 37}{space 1}   -0.44{col 46}{space 3}0.660{col 54}{space 4} -.136792{col 67}{space 3}  .086618
{txt}{space 7}pop65 {c |}{col 14}{res}{space 2}-.1070589{col 26}{space 2} .1206251{col 37}{space 1}   -0.89{col 46}{space 3}0.375{col 54}{space 4}-.3434798{col 67}{space 3} .1293621
{txt}{space 8}male {c |}{col 14}{res}{space 2} -.136944{col 26}{space 2} .1804977{col 37}{space 1}   -0.76{col 46}{space 3}0.448{col 54}{space 4}-.4907129{col 67}{space 3} .2168249
{txt}{space 8}llex {c |}{col 14}{res}{space 2} -.227261{col 26}{space 2} 2.314436{col 37}{space 1}   -0.10{col 46}{space 3}0.922{col 54}{space 4}-4.763472{col 67}{space 3} 4.308951
{txt}{space 6}linfmo {c |}{col 14}{res}{space 2} .0119938{col 26}{space 2} .0472869{col 37}{space 1}    0.25{col 46}{space 3}0.800{col 54}{space 4}-.0806867{col 67}{space 3} .1046744
{txt}{space 2}__00000R_c {c |}{col 14}{res}{space 2}   1.1119{col 26}{space 2} .2992515{col 37}{space 1}    3.72{col 46}{space 3}0.000{col 54}{space 4} .5253781{col 67}{space 3} 1.698423
{txt}{space 2}__000007_t {c |}{col 14}{res}{space 2} .0355973{col 26}{space 2} .0260521{col 37}{space 1}    1.37{col 46}{space 3}0.172{col 54}{space 4}-.0154639{col 67}{space 3} .0866586
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} 12.69442{col 26}{space 2} 15.63366{col 37}{space 1}    0.81{col 46}{space 3}0.417{col 54}{space 4}-17.94698{col 67}{space 3} 43.33582
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Root Mean Squared Error (sigma): {res}0.0130
{txt}Variable {res}__00000R_c{txt} refers to the common dynamic process.
Variable {res}__000007_t{txt} refers to a group-specific linear trend.
Share of group-specific trends significant at 5% level: {res}0.120 (= 3 trends)
{txt}
{com}. 
. 
. ////////////////////////////////////////////////////////////
> ///////////////////  LHL - Model (8) ///////////////////////
> ////////////////////////////////////////////////////////////
> 
. /////// First test for serial correlation
> xtserial lhl lprod k pop14 pop65 male llex linfmo ltobaco lalcohc cid1-cid27 year cidyear1-cidyear27

{txt}Wooldridge test for autocorrelation in panel data
H0: no first order autocorrelation
{col 5}F(  1,      18) = {res}    28.697
{txt}{col 12}Prob > F = {res}     0.0000
{txt}
{com}. 
. /////// Next test for cross-sectional correlation
> /////// I use the Pesaran test because it can be used with unbalanced data
> xtreg lhl lprod k pop14 pop65 male llex linfmo ltobaco lalcohc cid1-cid27 year cidyear1-cidyear27, fe
{p 0 6 2}{txt}note: cid1 omitted because of collinearity{p_end}
{p 0 6 2}note: cid2 omitted because of collinearity{p_end}
{p 0 6 2}note: cid3 omitted because of collinearity{p_end}
{p 0 6 2}note: cid4 omitted because of collinearity{p_end}
{p 0 6 2}note: cid5 omitted because of collinearity{p_end}
{p 0 6 2}note: cid6 omitted because of collinearity{p_end}
{p 0 6 2}note: cid7 omitted because of collinearity{p_end}
{p 0 6 2}note: cid8 omitted because of collinearity{p_end}
{p 0 6 2}note: cid9 omitted because of collinearity{p_end}
{p 0 6 2}note: cid10 omitted because of collinearity{p_end}
{p 0 6 2}note: cid11 omitted because of collinearity{p_end}
{p 0 6 2}note: cid12 omitted because of collinearity{p_end}
{p 0 6 2}note: cid13 omitted because of collinearity{p_end}
{p 0 6 2}note: cid14 omitted because of collinearity{p_end}
{p 0 6 2}note: cid15 omitted because of collinearity{p_end}
{p 0 6 2}note: cid16 omitted because of collinearity{p_end}
{p 0 6 2}note: cid17 omitted because of collinearity{p_end}
{p 0 6 2}note: cid18 omitted because of collinearity{p_end}
{p 0 6 2}note: cid19 omitted because of collinearity{p_end}
{p 0 6 2}note: cid20 omitted because of collinearity{p_end}
{p 0 6 2}note: cid21 omitted because of collinearity{p_end}
{p 0 6 2}note: cid22 omitted because of collinearity{p_end}
{p 0 6 2}note: cid23 omitted because of collinearity{p_end}
{p 0 6 2}note: cid24 omitted because of collinearity{p_end}
{p 0 6 2}note: cid25 omitted because of collinearity{p_end}
{p 0 6 2}note: cid26 omitted because of collinearity{p_end}
{p 0 6 2}note: cid27 omitted because of collinearity{p_end}
{p 0 6 2}note: cidyear2 omitted because of collinearity{p_end}
{p 0 6 2}note: cidyear3 omitted because of collinearity{p_end}
{p 0 6 2}note: cidyear7 omitted because of collinearity{p_end}
{p 0 6 2}note: cidyear15 omitted because of collinearity{p_end}
{p 0 6 2}note: cidyear16 omitted because of collinearity{p_end}
{p 0 6 2}note: cidyear20 omitted because of collinearity{p_end}
{p 0 6 2}note: cidyear21 omitted because of collinearity{p_end}
{p 0 6 2}note: cidyear22 omitted because of collinearity{p_end}
{p 0 6 2}note: cidyear23 omitted because of collinearity{p_end}
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       261
{txt}Group variable: {res}cid{txt}{col 49}Number of groups{col 67}={col 69}{res}        19

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.8560{col 63}{txt}min{col 67}={col 69}{res}         7
{txt}     between = {res}0.4713{col 63}{txt}avg{col 67}={col 69}{res}      13.7
{txt}     overall = {res}0.4383{col 63}{txt}max{col 67}={col 69}{res}        18

{txt}{col 49}F({res}28{txt},{res}214{txt}){col 67}={col 70}{res}    45.43
{txt}corr(u_i, Xb){col 16}= {res}-0.9999{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}         lhl{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}lprod {c |}{col 14}{res}{space 2} .0084097{col 26}{space 2} .0813736{col 37}{space 1}    0.10{col 46}{space 3}0.918{col 54}{space 4}-.1519867{col 67}{space 3}  .168806
{txt}{space 11}k {c |}{col 14}{res}{space 2} .0039215{col 26}{space 2}  .002022{col 37}{space 1}    1.94{col 46}{space 3}0.054{col 54}{space 4}-.0000641{col 67}{space 3} .0079072
{txt}{space 7}pop14 {c |}{col 14}{res}{space 2} .0444244{col 26}{space 2} .0094629{col 37}{space 1}    4.69{col 46}{space 3}0.000{col 54}{space 4} .0257719{col 67}{space 3} .0630769
{txt}{space 7}pop65 {c |}{col 14}{res}{space 2}-.0134822{col 26}{space 2} .0130108{col 37}{space 1}   -1.04{col 46}{space 3}0.301{col 54}{space 4} -.039128{col 67}{space 3} .0121636
{txt}{space 8}male {c |}{col 14}{res}{space 2}-.0416007{col 26}{space 2} .0282928{col 37}{space 1}   -1.47{col 46}{space 3}0.143{col 54}{space 4} -.097369{col 67}{space 3} .0141676
{txt}{space 8}llex {c |}{col 14}{res}{space 2} 1.442443{col 26}{space 2} .9512473{col 37}{space 1}    1.52{col 46}{space 3}0.131{col 54}{space 4}-.4325711{col 67}{space 3} 3.317457
{txt}{space 6}linfmo {c |}{col 14}{res}{space 2} .0148415{col 26}{space 2} .0246821{col 37}{space 1}    0.60{col 46}{space 3}0.548{col 54}{space 4}-.0338096{col 67}{space 3} .0634927
{txt}{space 5}ltobaco {c |}{col 14}{res}{space 2}-.0917384{col 26}{space 2} .0353438{col 37}{space 1}   -2.60{col 46}{space 3}0.010{col 54}{space 4}-.1614049{col 67}{space 3}-.0220718
{txt}{space 5}lalcohc {c |}{col 14}{res}{space 2}-.0506772{col 26}{space 2} .0538048{col 37}{space 1}   -0.94{col 46}{space 3}0.347{col 54}{space 4}-.1567325{col 67}{space 3} .0553781
{txt}{space 8}cid1 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid2 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid3 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid4 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid5 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid6 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid7 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid8 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid9 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid10 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid11 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid12 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid13 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid14 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid15 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid16 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid17 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid18 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid19 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid20 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid21 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid22 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid23 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid24 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid25 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid26 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid27 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}year {c |}{col 14}{res}{space 2} .0204157{col 26}{space 2} .0056061{col 37}{space 1}    3.64{col 46}{space 3}0.000{col 54}{space 4} .0093654{col 67}{space 3}  .031466
{txt}{space 4}cidyear1 {c |}{col 14}{res}{space 2} -.004129{col 26}{space 2} .0041218{col 37}{space 1}   -1.00{col 46}{space 3}0.318{col 54}{space 4}-.0122535{col 67}{space 3} .0039956
{txt}{space 4}cidyear2 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 4}cidyear3 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 4}cidyear4 {c |}{col 14}{res}{space 2}-.0097539{col 26}{space 2} .0047444{col 37}{space 1}   -2.06{col 46}{space 3}0.041{col 54}{space 4}-.0191057{col 67}{space 3}-.0004021
{txt}{space 4}cidyear5 {c |}{col 14}{res}{space 2} .0075107{col 26}{space 2} .0050521{col 37}{space 1}    1.49{col 46}{space 3}0.139{col 54}{space 4}-.0024475{col 67}{space 3}  .017469
{txt}{space 4}cidyear6 {c |}{col 14}{res}{space 2}-.0229042{col 26}{space 2} .0054448{col 37}{space 1}   -4.21{col 46}{space 3}0.000{col 54}{space 4}-.0336365{col 67}{space 3}-.0121719
{txt}{space 4}cidyear7 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 4}cidyear8 {c |}{col 14}{res}{space 2}-.0070148{col 26}{space 2} .0044091{col 37}{space 1}   -1.59{col 46}{space 3}0.113{col 54}{space 4}-.0157057{col 67}{space 3}  .001676
{txt}{space 4}cidyear9 {c |}{col 14}{res}{space 2}-.0194872{col 26}{space 2} .0046304{col 37}{space 1}   -4.21{col 46}{space 3}0.000{col 54}{space 4}-.0286142{col 67}{space 3}-.0103602
{txt}{space 3}cidyear10 {c |}{col 14}{res}{space 2} .0064293{col 26}{space 2} .0050445{col 37}{space 1}    1.27{col 46}{space 3}0.204{col 54}{space 4} -.003514{col 67}{space 3} .0163726
{txt}{space 3}cidyear11 {c |}{col 14}{res}{space 2} .0061934{col 26}{space 2} .0051363{col 37}{space 1}    1.21{col 46}{space 3}0.229{col 54}{space 4}-.0039308{col 67}{space 3} .0163176
{txt}{space 3}cidyear12 {c |}{col 14}{res}{space 2}-.0115313{col 26}{space 2} .0061813{col 37}{space 1}   -1.87{col 46}{space 3}0.063{col 54}{space 4}-.0237154{col 67}{space 3} .0006528
{txt}{space 3}cidyear13 {c |}{col 14}{res}{space 2}-.0193084{col 26}{space 2} .0041401{col 37}{space 1}   -4.66{col 46}{space 3}0.000{col 54}{space 4} -.027469{col 67}{space 3}-.0111479
{txt}{space 3}cidyear14 {c |}{col 14}{res}{space 2} .0092908{col 26}{space 2} .0051731{col 37}{space 1}    1.80{col 46}{space 3}0.074{col 54}{space 4} -.000906{col 67}{space 3} .0194876
{txt}{space 3}cidyear15 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 3}cidyear16 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 3}cidyear17 {c |}{col 14}{res}{space 2} -.007542{col 26}{space 2} .0044975{col 37}{space 1}   -1.68{col 46}{space 3}0.095{col 54}{space 4}-.0164071{col 67}{space 3} .0013231
{txt}{space 3}cidyear18 {c |}{col 14}{res}{space 2} .0003468{col 26}{space 2} .0042563{col 37}{space 1}    0.08{col 46}{space 3}0.935{col 54}{space 4}-.0080429{col 67}{space 3} .0087365
{txt}{space 3}cidyear19 {c |}{col 14}{res}{space 2}-.0121418{col 26}{space 2} .0062074{col 37}{space 1}   -1.96{col 46}{space 3}0.052{col 54}{space 4}-.0243773{col 67}{space 3} .0000937
{txt}{space 3}cidyear20 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 3}cidyear21 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 3}cidyear22 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 3}cidyear23 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 3}cidyear24 {c |}{col 14}{res}{space 2}-.0423429{col 26}{space 2} .0078132{col 37}{space 1}   -5.42{col 46}{space 3}0.000{col 54}{space 4}-.0577436{col 67}{space 3}-.0269422
{txt}{space 3}cidyear25 {c |}{col 14}{res}{space 2}-.0003747{col 26}{space 2}  .004116{col 37}{space 1}   -0.09{col 46}{space 3}0.928{col 54}{space 4}-.0084879{col 67}{space 3} .0077384
{txt}{space 3}cidyear26 {c |}{col 14}{res}{space 2} .0186679{col 26}{space 2} .0072266{col 37}{space 1}    2.58{col 46}{space 3}0.010{col 54}{space 4} .0044234{col 67}{space 3} .0329123
{txt}{space 3}cidyear27 {c |}{col 14}{res}{space 2}-.0086642{col 26}{space 2}   .00425{col 37}{space 1}   -2.04{col 46}{space 3}0.043{col 54}{space 4}-.0170415{col 67}{space 3}-.0002869
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-32.54868{col 26}{space 2}  8.75302{col 37}{space 1}   -3.72{col 46}{space 3}0.000{col 54}{space 4}-49.80185{col 67}{space 3} -15.2955
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} 28.283951
     {txt}sigma_e {c |} {res} .03333399
         {txt}rho {c |} {res} .99999861{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
F test that all u_i=0: F({res}18{txt}, {res}214{txt}) = {res}13.02{col 62}{txt}Prob > F = {res}0.0000
{txt}
{com}. //xtcsd, pesaran
. // I couldn't run the Pesaran test. I received the following error message:
. //Error: The panel is highly unbalanced.
. //Not enough common observations across panel to perform Pesaran's test.
. //insufficient observations
. 
. /////// Next I estimate the model using PCSE
> xtpcse lhl lprod k pop14 pop65 male llex linfmo ltobaco lalcohc cid1-cid27 year cidyear1-cidyear27, correlation(ar1)
{txt}note: cid2 omitted because of collinearity
note: cid3 omitted because of collinearity
note: cid7 omitted because of collinearity
note: cid15 omitted because of collinearity
note: cid16 omitted because of collinearity
note: cid20 omitted because of collinearity
note: cid21 omitted because of collinearity
note: cid22 omitted because of collinearity
note: cid23 omitted because of collinearity
note: cidyear2 omitted because of collinearity
note: cidyear3 omitted because of collinearity
note: cidyear7 omitted because of collinearity
note: cidyear15 omitted because of collinearity
note: cidyear16 omitted because of collinearity
note: cidyear20 omitted because of collinearity
note: cidyear21 omitted because of collinearity
note: cidyear22 omitted because of collinearity
note: cidyear23 omitted because of collinearity
(note: the number of observations per panel, e(n_sigma) = 2,
       used to compute the disturbance of covariance matrix e(Sigma)
       is less than half of the average number of observations per panel,
       e(n_avg) = 13.736842; you may want to consider the pairwise option)
{res}
{txt}Prais-Winsten regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}cid{col 49}{txt}Number of obs{col 67}= {res}       261
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        19
{txt}Panels:{col 19}{res}correlated (unbalanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}common AR(1){col 63}{txt}min{col 67}= {res}         7
{txt}Sigma computed by {col 19}{res}casewise selection{txt}{col 63}avg{col 67}= {res} 13.736842
{txt}{col 63}max{col 67}= {res}        18
{txt}Estimated covariances{col 28}= {res}      190{col 49}{txt}R-squared{col 67}= {res}    0.9938
{txt}Estimated autocorrelations{col 28}= {res}        1{col 49}{txt}Wald chi2({res}31{txt}){col 67}= {res}  1.75e+07
{txt}Estimated coefficients{col 28}= {res}       47{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}Panel-corrected
{col 1}         lhl{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}lprod {c |}{col 14}{res}{space 2}-.0018395{col 26}{space 2} .1074085{col 37}{space 1}   -0.02{col 46}{space 3}0.986{col 54}{space 4}-.2123563{col 67}{space 3} .2086773
{txt}{space 11}k {c |}{col 14}{res}{space 2} .0034776{col 26}{space 2} .0024442{col 37}{space 1}    1.42{col 46}{space 3}0.155{col 54}{space 4}-.0013129{col 67}{space 3} .0082681
{txt}{space 7}pop14 {c |}{col 14}{res}{space 2}  .040808{col 26}{space 2} .0093962{col 37}{space 1}    4.34{col 46}{space 3}0.000{col 54}{space 4} .0223919{col 67}{space 3} .0592242
{txt}{space 7}pop65 {c |}{col 14}{res}{space 2}  -.01066{col 26}{space 2} .0122634{col 37}{space 1}   -0.87{col 46}{space 3}0.385{col 54}{space 4}-.0346958{col 67}{space 3} .0133757
{txt}{space 8}male {c |}{col 14}{res}{space 2}-.0487351{col 26}{space 2} .0628183{col 37}{space 1}   -0.78{col 46}{space 3}0.438{col 54}{space 4}-.1718567{col 67}{space 3} .0743864
{txt}{space 8}llex {c |}{col 14}{res}{space 2} .9892967{col 26}{space 2} 1.251978{col 37}{space 1}    0.79{col 46}{space 3}0.429{col 54}{space 4}-1.464535{col 67}{space 3} 3.443128
{txt}{space 6}linfmo {c |}{col 14}{res}{space 2} .0125864{col 26}{space 2} .0461032{col 37}{space 1}    0.27{col 46}{space 3}0.785{col 54}{space 4}-.0777741{col 67}{space 3} .1029469
{txt}{space 5}ltobaco {c |}{col 14}{res}{space 2}-.0693116{col 26}{space 2} .0262214{col 37}{space 1}   -2.64{col 46}{space 3}0.008{col 54}{space 4}-.1207045{col 67}{space 3}-.0179186
{txt}{space 5}lalcohc {c |}{col 14}{res}{space 2}-.0425473{col 26}{space 2} .1016443{col 37}{space 1}   -0.42{col 46}{space 3}0.676{col 54}{space 4}-.2417664{col 67}{space 3} .1566718
{txt}{space 8}cid1 {c |}{col 14}{res}{space 2} 5.902773{col 26}{space 2} 4.701681{col 37}{space 1}    1.26{col 46}{space 3}0.209{col 54}{space 4}-3.312353{col 67}{space 3}  15.1179
{txt}{space 8}cid2 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid3 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid4 {c |}{col 14}{res}{space 2} 18.85201{col 26}{space 2} 3.689373{col 37}{space 1}    5.11{col 46}{space 3}0.000{col 54}{space 4} 11.62097{col 67}{space 3} 26.08305
{txt}{space 8}cid5 {c |}{col 14}{res}{space 2}-14.74566{col 26}{space 2} 11.06908{col 37}{space 1}   -1.33{col 46}{space 3}0.183{col 54}{space 4}-36.44066{col 67}{space 3} 6.949344
{txt}{space 8}cid6 {c |}{col 14}{res}{space 2} 43.36401{col 26}{space 2} 6.001701{col 37}{space 1}    7.23{col 46}{space 3}0.000{col 54}{space 4} 31.60089{col 67}{space 3} 55.12713
{txt}{space 8}cid7 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid8 {c |}{col 14}{res}{space 2} 13.77083{col 26}{space 2} 7.150631{col 37}{space 1}    1.93{col 46}{space 3}0.054{col 54}{space 4}-.2441535{col 67}{space 3}  27.7858
{txt}{space 8}cid9 {c |}{col 14}{res}{space 2}   35.795{col 26}{space 2} 6.007475{col 37}{space 1}    5.96{col 46}{space 3}0.000{col 54}{space 4} 24.02057{col 67}{space 3} 47.56944
{txt}{space 7}cid10 {c |}{col 14}{res}{space 2}-13.21363{col 26}{space 2} 10.13514{col 37}{space 1}   -1.30{col 46}{space 3}0.192{col 54}{space 4}-33.07815{col 67}{space 3} 6.650882
{txt}{space 7}cid11 {c |}{col 14}{res}{space 2}-11.12524{col 26}{space 2} 14.58689{col 37}{space 1}   -0.76{col 46}{space 3}0.446{col 54}{space 4}-39.71502{col 67}{space 3} 17.46453
{txt}{space 7}cid12 {c |}{col 14}{res}{space 2} 23.14356{col 26}{space 2} 16.08249{col 37}{space 1}    1.44{col 46}{space 3}0.150{col 54}{space 4}-8.377543{col 67}{space 3} 54.66467
{txt}{space 7}cid13 {c |}{col 14}{res}{space 2}  38.2874{col 26}{space 2} 10.01614{col 37}{space 1}    3.82{col 46}{space 3}0.000{col 54}{space 4} 18.65613{col 67}{space 3} 57.91866
{txt}{space 7}cid14 {c |}{col 14}{res}{space 2}-23.36025{col 26}{space 2} 8.186534{col 37}{space 1}   -2.85{col 46}{space 3}0.004{col 54}{space 4}-39.40556{col 67}{space 3} -7.31494
{txt}{space 7}cid15 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid16 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid17 {c |}{col 14}{res}{space 2} 13.63905{col 26}{space 2} 6.598649{col 37}{space 1}    2.07{col 46}{space 3}0.039{col 54}{space 4} .7059318{col 67}{space 3} 26.57216
{txt}{space 7}cid18 {c |}{col 14}{res}{space 2}-1.981395{col 26}{space 2}  6.80978{col 37}{space 1}   -0.29{col 46}{space 3}0.771{col 54}{space 4}-15.32832{col 67}{space 3} 11.36553
{txt}{space 7}cid19 {c |}{col 14}{res}{space 2} 20.35476{col 26}{space 2} 8.890607{col 37}{space 1}    2.29{col 46}{space 3}0.022{col 54}{space 4} 2.929486{col 67}{space 3} 37.78002
{txt}{space 7}cid20 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid21 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid22 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid23 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid24 {c |}{col 14}{res}{space 2} 85.74114{col 26}{space 2} 21.08996{col 37}{space 1}    4.07{col 46}{space 3}0.000{col 54}{space 4} 44.40558{col 67}{space 3} 127.0767
{txt}{space 7}cid25 {c |}{col 14}{res}{space 2} -1.60468{col 26}{space 2} 5.429047{col 37}{space 1}   -0.30{col 46}{space 3}0.768{col 54}{space 4}-12.24542{col 67}{space 3} 9.036056
{txt}{space 7}cid26 {c |}{col 14}{res}{space 2}-41.07711{col 26}{space 2} 16.63296{col 37}{space 1}   -2.47{col 46}{space 3}0.014{col 54}{space 4}-73.67711{col 67}{space 3}-8.477103
{txt}{space 7}cid27 {c |}{col 14}{res}{space 2} 14.01309{col 26}{space 2} 4.506787{col 37}{space 1}    3.11{col 46}{space 3}0.002{col 54}{space 4} 5.179949{col 67}{space 3} 22.84623
{txt}{space 8}year {c |}{col 14}{res}{space 2} .0209899{col 26}{space 2} .0052658{col 37}{space 1}    3.99{col 46}{space 3}0.000{col 54}{space 4} .0106692{col 67}{space 3} .0313106
{txt}{space 4}cidyear1 {c |}{col 14}{res}{space 2} -.003026{col 26}{space 2} .0023505{col 37}{space 1}   -1.29{col 46}{space 3}0.198{col 54}{space 4} -.007633{col 67}{space 3} .0015809
{txt}{space 4}cidyear2 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 4}cidyear3 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 4}cidyear4 {c |}{col 14}{res}{space 2}-.0094379{col 26}{space 2} .0018486{col 37}{space 1}   -5.11{col 46}{space 3}0.000{col 54}{space 4}-.0130611{col 67}{space 3}-.0058146
{txt}{space 4}cidyear5 {c |}{col 14}{res}{space 2} .0071926{col 26}{space 2} .0055055{col 37}{space 1}    1.31{col 46}{space 3}0.191{col 54}{space 4}-.0035979{col 67}{space 3} .0179832
{txt}{space 4}cidyear6 {c |}{col 14}{res}{space 2}-.0213878{col 26}{space 2} .0029963{col 37}{space 1}   -7.14{col 46}{space 3}0.000{col 54}{space 4}-.0272604{col 67}{space 3}-.0155152
{txt}{space 4}cidyear7 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 4}cidyear8 {c |}{col 14}{res}{space 2}-.0067221{col 26}{space 2} .0035795{col 37}{space 1}   -1.88{col 46}{space 3}0.060{col 54}{space 4}-.0137379{col 67}{space 3} .0002936
{txt}{space 4}cidyear9 {c |}{col 14}{res}{space 2}-.0179612{col 26}{space 2}  .002992{col 37}{space 1}   -6.00{col 46}{space 3}0.000{col 54}{space 4}-.0238254{col 67}{space 3} -.012097
{txt}{space 3}cidyear10 {c |}{col 14}{res}{space 2} .0066945{col 26}{space 2}  .005073{col 37}{space 1}    1.32{col 46}{space 3}0.187{col 54}{space 4}-.0032483{col 67}{space 3} .0166373
{txt}{space 3}cidyear11 {c |}{col 14}{res}{space 2} .0052668{col 26}{space 2} .0072834{col 37}{space 1}    0.72{col 46}{space 3}0.470{col 54}{space 4}-.0090085{col 67}{space 3} .0195421
{txt}{space 3}cidyear12 {c |}{col 14}{res}{space 2}-.0117308{col 26}{space 2} .0080286{col 37}{space 1}   -1.46{col 46}{space 3}0.144{col 54}{space 4}-.0274667{col 67}{space 3}  .004005
{txt}{space 3}cidyear13 {c |}{col 14}{res}{space 2}-.0190712{col 26}{space 2} .0050131{col 37}{space 1}   -3.80{col 46}{space 3}0.000{col 54}{space 4}-.0288966{col 67}{space 3}-.0092457
{txt}{space 3}cidyear14 {c |}{col 14}{res}{space 2}  .011545{col 26}{space 2} .0040766{col 37}{space 1}    2.83{col 46}{space 3}0.005{col 54}{space 4} .0035551{col 67}{space 3} .0195349
{txt}{space 3}cidyear15 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 3}cidyear16 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 3}cidyear17 {c |}{col 14}{res}{space 2} -.006642{col 26}{space 2} .0032882{col 37}{space 1}   -2.02{col 46}{space 3}0.043{col 54}{space 4}-.0130868{col 67}{space 3}-.0001972
{txt}{space 3}cidyear18 {c |}{col 14}{res}{space 2} .0007851{col 26}{space 2} .0034079{col 37}{space 1}    0.23{col 46}{space 3}0.818{col 54}{space 4}-.0058941{col 67}{space 3} .0074644
{txt}{space 3}cidyear19 {c |}{col 14}{res}{space 2}-.0099122{col 26}{space 2} .0044468{col 37}{space 1}   -2.23{col 46}{space 3}0.026{col 54}{space 4}-.0186278{col 67}{space 3}-.0011966
{txt}{space 3}cidyear20 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 3}cidyear21 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 3}cidyear22 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 3}cidyear23 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 3}cidyear24 {c |}{col 14}{res}{space 2}-.0425625{col 26}{space 2} .0105141{col 37}{space 1}   -4.05{col 46}{space 3}0.000{col 54}{space 4}-.0631698{col 67}{space 3}-.0219552
{txt}{space 3}cidyear25 {c |}{col 14}{res}{space 2} .0008475{col 26}{space 2} .0027109{col 37}{space 1}    0.31{col 46}{space 3}0.755{col 54}{space 4}-.0044658{col 67}{space 3} .0061607
{txt}{space 3}cidyear26 {c |}{col 14}{res}{space 2} .0195341{col 26}{space 2} .0082873{col 37}{space 1}    2.36{col 46}{space 3}0.018{col 54}{space 4} .0032912{col 67}{space 3}  .035777
{txt}{space 3}cidyear27 {c |}{col 14}{res}{space 2}-.0069688{col 26}{space 2} .0022456{col 37}{space 1}   -3.10{col 46}{space 3}0.002{col 54}{space 4}-.0113702{col 67}{space 3}-.0025675
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-41.90834{col 26}{space 2} 7.917693{col 37}{space 1}   -5.29{col 46}{space 3}0.000{col 54}{space 4}-57.42674{col 67}{space 3}-26.38995
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
         rho {c |}  {res} .2619414
{txt}{hline 13}{c BT}{hline 64}

{com}. 
. /////// Finally, I used the different heterogeneous panel models
> xtmg lhl lprod k pop14 pop65 male llex linfmo ltobaco lalcohc, trend 
{txt}{col 2}Note: {res}50{txt} obs. dropped (panels too small)


Pesaran & Smith (1995) Mean Group estimator

All coefficients present represent averages across groups ({res}cid{txt})
Coefficient averages computed as {res}unweighted{txt} means

Mean Group type estimation{col 49}Number of obs{col 67}={col 69}{res}       211
{txt}Group variable: {res}cid{col 49}{txt}Number of groups{col 67}={col 69}{res}        14

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}        12
{txt}{col 63}avg{col 67}={col 69}{res}      15.1
{txt}{col 63}max{col 67}={col 69}{res}        18

{txt}{col 49}Wald chi2({res}9{txt}){col 67}={col 70}{res}    19.07
{txt}{col 49}Prob > chi2{col 67}={res}{col 73}0.0246

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}         lhl{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}lprod {c |}{col 14}{res}{space 2} .1212509{col 26}{space 2} .1267983{col 37}{space 1}    0.96{col 46}{space 3}0.339{col 54}{space 4}-.1272693{col 67}{space 3}  .369771
{txt}{space 11}k {c |}{col 14}{res}{space 2} .0069143{col 26}{space 2}  .006865{col 37}{space 1}    1.01{col 46}{space 3}0.314{col 54}{space 4}-.0065409{col 67}{space 3} .0203695
{txt}{space 7}pop14 {c |}{col 14}{res}{space 2}-.0023665{col 26}{space 2} .0481604{col 37}{space 1}   -0.05{col 46}{space 3}0.961{col 54}{space 4}-.0967591{col 67}{space 3} .0920261
{txt}{space 7}pop65 {c |}{col 14}{res}{space 2}-.0204659{col 26}{space 2} .0664381{col 37}{space 1}   -0.31{col 46}{space 3}0.758{col 54}{space 4}-.1506821{col 67}{space 3} .1097503
{txt}{space 8}male {c |}{col 14}{res}{space 2} .1238247{col 26}{space 2} .1998084{col 37}{space 1}    0.62{col 46}{space 3}0.535{col 54}{space 4}-.2677926{col 67}{space 3} .5154421
{txt}{space 8}llex {c |}{col 14}{res}{space 2} 5.379669{col 26}{space 2} 3.546819{col 37}{space 1}    1.52{col 46}{space 3}0.129{col 54}{space 4}-1.571968{col 67}{space 3} 12.33131
{txt}{space 6}linfmo {c |}{col 14}{res}{space 2} .0762297{col 26}{space 2} .0782594{col 37}{space 1}    0.97{col 46}{space 3}0.330{col 54}{space 4}-.0771559{col 67}{space 3} .2296153
{txt}{space 5}ltobaco {c |}{col 14}{res}{space 2}-.0413786{col 26}{space 2} .1577823{col 37}{space 1}   -0.26{col 46}{space 3}0.793{col 54}{space 4}-.3506261{col 67}{space 3}  .267869
{txt}{space 5}lalcohc {c |}{col 14}{res}{space 2}-.0096607{col 26}{space 2} .2120714{col 37}{space 1}   -0.05{col 46}{space 3}0.964{col 54}{space 4}-.4253131{col 67}{space 3} .4059917
{txt}{space 2}__000007_t {c |}{col 14}{res}{space 2}  .001105{col 26}{space 2} .0167879{col 37}{space 1}    0.07{col 46}{space 3}0.948{col 54}{space 4}-.0317987{col 67}{space 3} .0340086
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-27.74026{col 26}{space 2} 24.07304{col 37}{space 1}   -1.15{col 46}{space 3}0.249{col 54}{space 4}-74.92255{col 67}{space 3} 19.44203
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Root Mean Squared Error (sigma): {res}0.0149
{txt}Variable {res}__000007_t{txt} refers to a group-specific linear trend.
Share of group-specific trends significant at 5% level: {res}0.000 (= 0 trends)
{txt}
{com}. xtmg lhl lprod k pop14 pop65 male llex linfmo ltobaco lalcohc, cce trend 
{txt}{col 2}Note: {res}50{txt} obs. dropped (panels too small)


Pesaran (2006) Common Correlated Effects Mean Group estimator

All coefficients present represent averages across groups ({res}cid{txt})
Coefficient averages computed as {res}unweighted{txt} means

Mean Group type estimation{col 49}Number of obs{col 67}={col 69}{res}       211
{txt}Group variable: {res}cid{col 49}{txt}Number of groups{col 67}={col 69}{res}        14

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}        12
{txt}{col 63}avg{col 67}={col 69}{res}      15.1
{txt}{col 63}max{col 67}={col 69}{res}        18

{txt}{col 49}Wald chi2({res}8{txt}){col 67}={col 70}{res}    16.23
{txt}{col 49}Prob > chi2{col 67}={res}{col 73}0.0393

{txt}{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}             lhl{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 11}lprod {c |}{col 18}{res}{space 2}-.2161936{col 30}{space 2} .1822868{col 41}{space 1}   -1.19{col 50}{space 3}0.236{col 58}{space 4}-.5734691{col 71}{space 3} .1410819
{txt}{space 15}k {c |}{col 18}{res}{space 2}-.0246754{col 30}{space 2} .0249148{col 41}{space 1}   -0.99{col 50}{space 3}0.322{col 58}{space 4}-.0735075{col 71}{space 3} .0241567
{txt}{space 11}pop14 {c |}{col 18}{res}{space 2}-.1341936{col 30}{space 2} .1244249{col 41}{space 1}   -1.08{col 50}{space 3}0.281{col 58}{space 4}-.3780619{col 71}{space 3} .1096747
{txt}{space 11}pop65 {c |}{col 18}{res}{space 2} -.021254{col 30}{space 2} .1089342{col 41}{space 1}   -0.20{col 50}{space 3}0.845{col 58}{space 4} -.234761{col 71}{space 3}  .192253
{txt}{space 12}male {c |}{col 18}{res}{space 2} .1347836{col 30}{space 2} .2736831{col 41}{space 1}    0.49{col 50}{space 3}0.622{col 58}{space 4}-.4016253{col 71}{space 3} .6711926
{txt}{space 12}llex {c |}{col 18}{res}{space 2}        0{col 30}{txt}  (omitted)
{space 10}linfmo {c |}{col 18}{res}{space 2}-.0570097{col 30}{space 2} .1644743{col 41}{space 1}   -0.35{col 50}{space 3}0.729{col 58}{space 4}-.3793734{col 71}{space 3}  .265354
{txt}{space 9}ltobaco {c |}{col 18}{res}{space 2}-.1857568{col 30}{space 2} .1847864{col 41}{space 1}   -1.01{col 50}{space 3}0.315{col 58}{space 4}-.5479315{col 71}{space 3} .1764178
{txt}{space 9}lalcohc {c |}{col 18}{res}{space 2}-.2739404{col 30}{space 2} .3931184{col 41}{space 1}   -0.70{col 50}{space 3}0.486{col 58}{space 4}-1.044438{col 71}{space 3} .4965575
{txt}{space 6}__000007_t {c |}{col 18}{res}{space 2}-.0022388{col 30}{space 2} .0440492{col 41}{space 1}   -0.05{col 50}{space 3}0.959{col 58}{space 4}-.0885736{col 71}{space 3} .0840961
{txt}{space 4}__00000M_lhl {c |}{col 18}{res}{space 2} .5477562{col 30}{space 2} .6387484{col 41}{space 1}    0.86{col 50}{space 3}0.391{col 58}{space 4}-.7041675{col 71}{space 3}  1.79968
{txt}{space 2}__00000L_lprod {c |}{col 18}{res}{space 2}-.7115845{col 30}{space 2} .6819683{col 41}{space 1}   -1.04{col 50}{space 3}0.297{col 58}{space 4}-2.048218{col 71}{space 3} .6250488
{txt}{space 6}__00000L_k {c |}{col 18}{res}{space 2}-.0041443{col 30}{space 2} .0199991{col 41}{space 1}   -0.21{col 50}{space 3}0.836{col 58}{space 4}-.0433418{col 71}{space 3} .0350532
{txt}{space 2}__00000L_pop14 {c |}{col 18}{res}{space 2}-.0465165{col 30}{space 2} .1952345{col 41}{space 1}   -0.24{col 50}{space 3}0.812{col 58}{space 4} -.429169{col 71}{space 3} .3361361
{txt}{space 2}__00000L_pop65 {c |}{col 18}{res}{space 2} .0946141{col 30}{space 2} .1409887{col 41}{space 1}    0.67{col 50}{space 3}0.502{col 58}{space 4}-.1817187{col 71}{space 3} .3709469
{txt}{space 3}__00000L_male {c |}{col 18}{res}{space 2}-.2672469{col 30}{space 2} .2982344{col 41}{space 1}   -0.90{col 50}{space 3}0.370{col 58}{space 4}-.8517755{col 71}{space 3} .3172817
{txt}{space 3}__00000L_llex {c |}{col 18}{res}{space 2}        0{col 30}{txt}  (omitted)
{space 1}__00000L_linfmo {c |}{col 18}{res}{space 2} .0231485{col 30}{space 2} .1645258{col 41}{space 1}    0.14{col 50}{space 3}0.888{col 58}{space 4}-.2993162{col 71}{space 3} .3456132
{txt}__00000L_ltobaco {c |}{col 18}{res}{space 2} .1715171{col 30}{space 2} .5127397{col 41}{space 1}    0.33{col 50}{space 3}0.738{col 58}{space 4}-.8334341{col 71}{space 3} 1.176468
{txt}__00000L_lalcohc {c |}{col 18}{res}{space 2} .0510569{col 30}{space 2} .5014059{col 41}{space 1}    0.10{col 50}{space 3}0.919{col 58}{space 4}-.9316806{col 71}{space 3} 1.033794
{txt}{space 11}_cons {c |}{col 18}{res}{space 2} 16.53302{col 30}{space 2} 16.45051{col 41}{space 1}    1.01{col 50}{space 3}0.315{col 58}{space 4}-15.70939{col 71}{space 3} 48.77542
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Root Mean Squared Error (sigma): {res}0.0000
{txt}Cross-section averaged {res}regressors{txt} are marked by the suffix: 
{res}   _lhl, _lprod, _k, _pop14, _pop65, _male, _llex, _linfmo, _ltobaco, _lalcohc{txt} respectively.
Variable {res}__000007_t{txt} refers to a group-specific linear trend.
Share of group-specific trends significant at 5% level: {res}0.000 (= 0 trends)
{txt}Note that augmentation of the CCEMG estimator should account for the impact of
group-specific linear trends. The latter are unidentified.

{com}. xtmg lhl lprod k pop14 pop65 male llex linfmo ltobaco lalcohc, aug trend 
{txt}{col 2}Note: {res}62{txt} obs. dropped (panels too small)


Augmented Mean Group estimator (Bond & Eberhardt, 2009; Eberhardt & Teal, 2010)

Common dynamic process {res}included{txt} as additional regressor
All coefficients present represent averages across groups ({res}cid{txt})
Coefficient averages computed as {res}unweighted{txt} means

Mean Group type estimation{col 49}Number of obs{col 67}={col 69}{res}       199
{txt}Group variable: {res}cid{col 49}{txt}Number of groups{col 67}={col 69}{res}        13

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}        13
{txt}{col 63}avg{col 67}={col 69}{res}      15.3
{txt}{col 63}max{col 67}={col 69}{res}        18

{txt}{col 49}Wald chi2({res}9{txt}){col 67}={col 70}{res}    70.39
{txt}{col 49}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}         lhl{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}lprod {c |}{col 14}{res}{space 2} .0273326{col 26}{space 2} .1163848{col 37}{space 1}    0.23{col 46}{space 3}0.814{col 54}{space 4}-.2007773{col 67}{space 3} .2554425
{txt}{space 11}k {c |}{col 14}{res}{space 2}-.0032858{col 26}{space 2} .0104771{col 37}{space 1}   -0.31{col 46}{space 3}0.754{col 54}{space 4}-.0238206{col 67}{space 3} .0172489
{txt}{space 7}pop14 {c |}{col 14}{res}{space 2} .1014206{col 26}{space 2} .0477729{col 37}{space 1}    2.12{col 46}{space 3}0.034{col 54}{space 4} .0077874{col 67}{space 3} .1950538
{txt}{space 7}pop65 {c |}{col 14}{res}{space 2} .0997581{col 26}{space 2}  .068797{col 37}{space 1}    1.45{col 46}{space 3}0.147{col 54}{space 4}-.0350815{col 67}{space 3} .2345977
{txt}{space 8}male {c |}{col 14}{res}{space 2} .3548481{col 26}{space 2} .1852244{col 37}{space 1}    1.92{col 46}{space 3}0.055{col 54}{space 4}-.0081851{col 67}{space 3} .7178812
{txt}{space 8}llex {c |}{col 14}{res}{space 2} 7.685774{col 26}{space 2} 3.893423{col 37}{space 1}    1.97{col 46}{space 3}0.048{col 54}{space 4} .0548059{col 67}{space 3} 15.31674
{txt}{space 6}linfmo {c |}{col 14}{res}{space 2} .0726378{col 26}{space 2}  .071034{col 37}{space 1}    1.02{col 46}{space 3}0.307{col 54}{space 4}-.0665862{col 67}{space 3} .2118619
{txt}{space 5}ltobaco {c |}{col 14}{res}{space 2}-.1014748{col 26}{space 2} .1304752{col 37}{space 1}   -0.78{col 46}{space 3}0.437{col 54}{space 4}-.3572015{col 67}{space 3} .1542518
{txt}{space 5}lalcohc {c |}{col 14}{res}{space 2} .1788317{col 26}{space 2} .2031188{col 37}{space 1}    0.88{col 46}{space 3}0.379{col 54}{space 4}-.2192739{col 67}{space 3} .5769372
{txt}{space 2}__00000R_c {c |}{col 14}{res}{space 2} .6165159{col 26}{space 2}  .364864{col 37}{space 1}    1.69{col 46}{space 3}0.091{col 54}{space 4}-.0986045{col 67}{space 3} 1.331636
{txt}{space 2}__000007_t {c |}{col 14}{res}{space 2}-.0186333{col 26}{space 2} .0223235{col 37}{space 1}   -0.83{col 46}{space 3}0.404{col 54}{space 4}-.0623866{col 67}{space 3}   .02512
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-51.34304{col 26}{space 2}  24.4884{col 37}{space 1}   -2.10{col 46}{space 3}0.036{col 54}{space 4}-99.33942{col 67}{space 3}-3.346664
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Root Mean Squared Error (sigma): {res}0.0118
{txt}Variable {res}__00000R_c{txt} refers to the common dynamic process.
Variable {res}__000007_t{txt} refers to a group-specific linear trend.
Share of group-specific trends significant at 5% level: {res}0.077 (= 1 trends)
{txt}
{com}. 
. 
. 
. ////////////////////////////////////////////////////////////
> ///////////////////  LHL - Model (9) ///////////////////////
> ////////////////////////////////////////////////////////////
> 
. /////// First test for serial correlation
> xtserial lhl lprod k pop14 pop65 male llex linfmo ltobaco lalcohc gdpg cid1-cid27 year cidyear1-cidyear27

{txt}Wooldridge test for autocorrelation in panel data
H0: no first order autocorrelation
{col 5}F(  1,      18) = {res}    23.896
{txt}{col 12}Prob > F = {res}     0.0001
{txt}
{com}. 
. /////// Next test for cross-sectional correlation
> /////// I use the Pesaran test because it can be used with unbalanced data
> xtreg lhl lprod k pop14 pop65 male llex linfmo ltobaco lalcohc gdpg cid1-cid27 year cidyear1-cidyear27, fe
{p 0 6 2}{txt}note: cid1 omitted because of collinearity{p_end}
{p 0 6 2}note: cid2 omitted because of collinearity{p_end}
{p 0 6 2}note: cid3 omitted because of collinearity{p_end}
{p 0 6 2}note: cid4 omitted because of collinearity{p_end}
{p 0 6 2}note: cid5 omitted because of collinearity{p_end}
{p 0 6 2}note: cid6 omitted because of collinearity{p_end}
{p 0 6 2}note: cid7 omitted because of collinearity{p_end}
{p 0 6 2}note: cid8 omitted because of collinearity{p_end}
{p 0 6 2}note: cid9 omitted because of collinearity{p_end}
{p 0 6 2}note: cid10 omitted because of collinearity{p_end}
{p 0 6 2}note: cid11 omitted because of collinearity{p_end}
{p 0 6 2}note: cid12 omitted because of collinearity{p_end}
{p 0 6 2}note: cid13 omitted because of collinearity{p_end}
{p 0 6 2}note: cid14 omitted because of collinearity{p_end}
{p 0 6 2}note: cid15 omitted because of collinearity{p_end}
{p 0 6 2}note: cid16 omitted because of collinearity{p_end}
{p 0 6 2}note: cid17 omitted because of collinearity{p_end}
{p 0 6 2}note: cid18 omitted because of collinearity{p_end}
{p 0 6 2}note: cid19 omitted because of collinearity{p_end}
{p 0 6 2}note: cid20 omitted because of collinearity{p_end}
{p 0 6 2}note: cid21 omitted because of collinearity{p_end}
{p 0 6 2}note: cid22 omitted because of collinearity{p_end}
{p 0 6 2}note: cid23 omitted because of collinearity{p_end}
{p 0 6 2}note: cid24 omitted because of collinearity{p_end}
{p 0 6 2}note: cid25 omitted because of collinearity{p_end}
{p 0 6 2}note: cid26 omitted because of collinearity{p_end}
{p 0 6 2}note: cid27 omitted because of collinearity{p_end}
{p 0 6 2}note: cidyear2 omitted because of collinearity{p_end}
{p 0 6 2}note: cidyear3 omitted because of collinearity{p_end}
{p 0 6 2}note: cidyear7 omitted because of collinearity{p_end}
{p 0 6 2}note: cidyear15 omitted because of collinearity{p_end}
{p 0 6 2}note: cidyear16 omitted because of collinearity{p_end}
{p 0 6 2}note: cidyear20 omitted because of collinearity{p_end}
{p 0 6 2}note: cidyear21 omitted because of collinearity{p_end}
{p 0 6 2}note: cidyear22 omitted because of collinearity{p_end}
{p 0 6 2}note: cidyear23 omitted because of collinearity{p_end}
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       261
{txt}Group variable: {res}cid{txt}{col 49}Number of groups{col 67}={col 69}{res}        19

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.8595{col 63}{txt}min{col 67}={col 69}{res}         7
{txt}     between = {res}0.4948{col 63}{txt}avg{col 67}={col 69}{res}      13.7
{txt}     overall = {res}0.4553{col 63}{txt}max{col 67}={col 69}{res}        18

{txt}{col 49}F({res}29{txt},{res}213{txt}){col 67}={col 70}{res}    44.92
{txt}corr(u_i, Xb){col 16}= {res}-0.9999{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}         lhl{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}lprod {c |}{col 14}{res}{space 2}-.0189229{col 26}{space 2} .0814463{col 37}{space 1}   -0.23{col 46}{space 3}0.816{col 54}{space 4}-.1794668{col 67}{space 3}  .141621
{txt}{space 11}k {c |}{col 14}{res}{space 2} .0027622{col 26}{space 2} .0020647{col 37}{space 1}    1.34{col 46}{space 3}0.182{col 54}{space 4}-.0013077{col 67}{space 3} .0068322
{txt}{space 7}pop14 {c |}{col 14}{res}{space 2}  .044709{col 26}{space 2} .0093706{col 37}{space 1}    4.77{col 46}{space 3}0.000{col 54}{space 4}  .026238{col 67}{space 3}   .06318
{txt}{space 7}pop65 {c |}{col 14}{res}{space 2}-.0120024{col 26}{space 2} .0128988{col 37}{space 1}   -0.93{col 46}{space 3}0.353{col 54}{space 4}-.0374282{col 67}{space 3} .0134233
{txt}{space 8}male {c |}{col 14}{res}{space 2}-.0335831{col 26}{space 2} .0282309{col 37}{space 1}   -1.19{col 46}{space 3}0.236{col 54}{space 4}-.0892308{col 67}{space 3} .0220645
{txt}{space 8}llex {c |}{col 14}{res}{space 2} 1.020236{col 26}{space 2} .9596477{col 37}{space 1}    1.06{col 46}{space 3}0.289{col 54}{space 4}-.8713866{col 67}{space 3} 2.911859
{txt}{space 6}linfmo {c |}{col 14}{res}{space 2}  .013337{col 26}{space 2} .0244479{col 37}{space 1}    0.55{col 46}{space 3}0.586{col 54}{space 4}-.0348537{col 67}{space 3} .0615278
{txt}{space 5}ltobaco {c |}{col 14}{res}{space 2}-.0929876{col 26}{space 2}     .035{col 37}{space 1}   -2.66{col 46}{space 3}0.008{col 54}{space 4}-.1619785{col 67}{space 3}-.0239968
{txt}{space 5}lalcohc {c |}{col 14}{res}{space 2}-.0580888{col 26}{space 2} .0533727{col 37}{space 1}   -1.09{col 46}{space 3}0.278{col 54}{space 4}-.1632952{col 67}{space 3} .0471175
{txt}{space 8}gdpg {c |}{col 14}{res}{space 2} .0024094{col 26}{space 2} .0010489{col 37}{space 1}    2.30{col 46}{space 3}0.023{col 54}{space 4} .0003419{col 67}{space 3} .0044769
{txt}{space 8}cid1 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid2 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid3 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid4 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid5 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid6 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid7 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid8 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid9 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid10 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid11 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid12 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid13 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid14 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid15 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid16 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid17 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid18 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid19 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid20 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid21 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid22 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid23 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid24 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid25 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid26 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid27 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}year {c |}{col 14}{res}{space 2} .0221281{col 26}{space 2} .0056008{col 37}{space 1}    3.95{col 46}{space 3}0.000{col 54}{space 4} .0110881{col 67}{space 3} .0331682
{txt}{space 4}cidyear1 {c |}{col 14}{res}{space 2}  -.00306{col 26}{space 2} .0041077{col 37}{space 1}   -0.74{col 46}{space 3}0.457{col 54}{space 4}-.0111569{col 67}{space 3}  .005037
{txt}{space 4}cidyear2 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 4}cidyear3 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 4}cidyear4 {c |}{col 14}{res}{space 2} -.009445{col 26}{space 2} .0046996{col 37}{space 1}   -2.01{col 46}{space 3}0.046{col 54}{space 4}-.0187088{col 67}{space 3}-.0001813
{txt}{space 4}cidyear5 {c |}{col 14}{res}{space 2}  .009075{col 26}{space 2} .0050485{col 37}{space 1}    1.80{col 46}{space 3}0.074{col 54}{space 4}-.0008764{col 67}{space 3} .0190264
{txt}{space 4}cidyear6 {c |}{col 14}{res}{space 2}-.0220675{col 26}{space 2} .0054035{col 37}{space 1}   -4.08{col 46}{space 3}0.000{col 54}{space 4}-.0327186{col 67}{space 3}-.0114164
{txt}{space 4}cidyear7 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 4}cidyear8 {c |}{col 14}{res}{space 2}-.0060676{col 26}{space 2} .0043851{col 37}{space 1}   -1.38{col 46}{space 3}0.168{col 54}{space 4}-.0147114{col 67}{space 3} .0025762
{txt}{space 4}cidyear9 {c |}{col 14}{res}{space 2} -.019057{col 26}{space 2} .0045886{col 37}{space 1}   -4.15{col 46}{space 3}0.000{col 54}{space 4}-.0281019{col 67}{space 3}-.0100121
{txt}{space 3}cidyear10 {c |}{col 14}{res}{space 2} .0065887{col 26}{space 2} .0049953{col 37}{space 1}    1.32{col 46}{space 3}0.189{col 54}{space 4}-.0032579{col 67}{space 3} .0164354
{txt}{space 3}cidyear11 {c |}{col 14}{res}{space 2} .0061989{col 26}{space 2} .0050857{col 37}{space 1}    1.22{col 46}{space 3}0.224{col 54}{space 4}-.0038259{col 67}{space 3} .0162237
{txt}{space 3}cidyear12 {c |}{col 14}{res}{space 2}-.0083616{col 26}{space 2} .0062741{col 37}{space 1}   -1.33{col 46}{space 3}0.184{col 54}{space 4}-.0207289{col 67}{space 3} .0040057
{txt}{space 3}cidyear13 {c |}{col 14}{res}{space 2}-.0183265{col 26}{space 2} .0041215{col 37}{space 1}   -4.45{col 46}{space 3}0.000{col 54}{space 4}-.0264507{col 67}{space 3}-.0102023
{txt}{space 3}cidyear14 {c |}{col 14}{res}{space 2}  .012225{col 26}{space 2} .0052791{col 37}{space 1}    2.32{col 46}{space 3}0.022{col 54}{space 4} .0018191{col 67}{space 3} .0226308
{txt}{space 3}cidyear15 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 3}cidyear16 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 3}cidyear17 {c |}{col 14}{res}{space 2}-.0068421{col 26}{space 2} .0044636{col 37}{space 1}   -1.53{col 46}{space 3}0.127{col 54}{space 4}-.0156406{col 67}{space 3} .0019565
{txt}{space 3}cidyear18 {c |}{col 14}{res}{space 2} .0014779{col 26}{space 2} .0042431{col 37}{space 1}    0.35{col 46}{space 3}0.728{col 54}{space 4}-.0068859{col 67}{space 3} .0098417
{txt}{space 3}cidyear19 {c |}{col 14}{res}{space 2} -.010097{col 26}{space 2} .0062104{col 37}{space 1}   -1.63{col 46}{space 3}0.105{col 54}{space 4}-.0223387{col 67}{space 3} .0021447
{txt}{space 3}cidyear20 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 3}cidyear21 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 3}cidyear22 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 3}cidyear23 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 3}cidyear24 {c |}{col 14}{res}{space 2}-.0414318{col 26}{space 2} .0077464{col 37}{space 1}   -5.35{col 46}{space 3}0.000{col 54}{space 4}-.0567013{col 67}{space 3}-.0261623
{txt}{space 3}cidyear25 {c |}{col 14}{res}{space 2}-.0002116{col 26}{space 2} .0040761{col 37}{space 1}   -0.05{col 46}{space 3}0.959{col 54}{space 4}-.0082463{col 67}{space 3} .0078231
{txt}{space 3}cidyear26 {c |}{col 14}{res}{space 2} .0222312{col 26}{space 2} .0073217{col 37}{space 1}    3.04{col 46}{space 3}0.003{col 54}{space 4} .0077989{col 67}{space 3} .0366634
{txt}{space 3}cidyear27 {c |}{col 14}{res}{space 2}-.0079872{col 26}{space 2} .0042185{col 37}{space 1}   -1.89{col 46}{space 3}0.060{col 54}{space 4}-.0163025{col 67}{space 3} .0003282
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-36.58263{col 26}{space 2} 8.842967{col 37}{space 1}   -4.14{col 46}{space 3}0.000{col 54}{space 4}-54.01357{col 67}{space 3} -19.1517
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} 28.925381
     {txt}sigma_e {c |} {res} .03300581
         {txt}rho {c |} {res}  .9999987{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
F test that all u_i=0: F({res}18{txt}, {res}213{txt}) = {res}13.55{col 62}{txt}Prob > F = {res}0.0000
{txt}
{com}. //xtcsd, pesaran
. // I couldn't run the Pesaran test. I received the following error message:
. //Error: The panel is highly unbalanced.
. //Not enough common observations across panel to perform Pesaran's test.
. //insufficient observations
. 
. /////// Next I estimate the model using PCSE
> xtpcse lhl lprod k pop14 pop65 male llex linfmo ltobaco lalcohc gdpg cid1-cid27 year cidyear1-cidyear27, correlation(ar1)
{txt}note: cid2 omitted because of collinearity
note: cid3 omitted because of collinearity
note: cid7 omitted because of collinearity
note: cid15 omitted because of collinearity
note: cid16 omitted because of collinearity
note: cid20 omitted because of collinearity
note: cid21 omitted because of collinearity
note: cid22 omitted because of collinearity
note: cid23 omitted because of collinearity
note: cidyear2 omitted because of collinearity
note: cidyear3 omitted because of collinearity
note: cidyear7 omitted because of collinearity
note: cidyear15 omitted because of collinearity
note: cidyear16 omitted because of collinearity
note: cidyear20 omitted because of collinearity
note: cidyear21 omitted because of collinearity
note: cidyear22 omitted because of collinearity
note: cidyear23 omitted because of collinearity
(note: the number of observations per panel, e(n_sigma) = 2,
       used to compute the disturbance of covariance matrix e(Sigma)
       is less than half of the average number of observations per panel,
       e(n_avg) = 13.736842; you may want to consider the pairwise option)
{res}
{txt}Prais-Winsten regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}cid{col 49}{txt}Number of obs{col 67}= {res}       261
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        19
{txt}Panels:{col 19}{res}correlated (unbalanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}common AR(1){col 63}{txt}min{col 67}= {res}         7
{txt}Sigma computed by {col 19}{res}casewise selection{txt}{col 63}avg{col 67}= {res} 13.736842
{txt}{col 63}max{col 67}= {res}        18
{txt}Estimated covariances{col 28}= {res}      190{col 49}{txt}R-squared{col 67}= {res}    0.9939
{txt}Estimated autocorrelations{col 28}= {res}        1{col 49}{txt}Wald chi2({res}33{txt}){col 67}= {res}  7.37e+08
{txt}Estimated coefficients{col 28}= {res}       48{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}Panel-corrected
{col 1}         lhl{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}lprod {c |}{col 14}{res}{space 2} -.035362{col 26}{space 2} .1182327{col 37}{space 1}   -0.30{col 46}{space 3}0.765{col 54}{space 4}-.2670939{col 67}{space 3} .1963699
{txt}{space 11}k {c |}{col 14}{res}{space 2} .0021864{col 26}{space 2} .0023445{col 37}{space 1}    0.93{col 46}{space 3}0.351{col 54}{space 4}-.0024087{col 67}{space 3} .0067815
{txt}{space 7}pop14 {c |}{col 14}{res}{space 2} .0406494{col 26}{space 2} .0094962{col 37}{space 1}    4.28{col 46}{space 3}0.000{col 54}{space 4} .0220373{col 67}{space 3} .0592615
{txt}{space 7}pop65 {c |}{col 14}{res}{space 2}-.0091809{col 26}{space 2} .0124532{col 37}{space 1}   -0.74{col 46}{space 3}0.461{col 54}{space 4}-.0335887{col 67}{space 3}  .015227
{txt}{space 8}male {c |}{col 14}{res}{space 2}-.0420027{col 26}{space 2} .0643146{col 37}{space 1}   -0.65{col 46}{space 3}0.514{col 54}{space 4} -.168057{col 67}{space 3} .0840516
{txt}{space 8}llex {c |}{col 14}{res}{space 2} .6131908{col 26}{space 2} 1.254843{col 37}{space 1}    0.49{col 46}{space 3}0.625{col 54}{space 4}-1.846255{col 67}{space 3} 3.072637
{txt}{space 6}linfmo {c |}{col 14}{res}{space 2} .0126319{col 26}{space 2} .0472262{col 37}{space 1}    0.27{col 46}{space 3}0.789{col 54}{space 4}-.0799297{col 67}{space 3} .1051935
{txt}{space 5}ltobaco {c |}{col 14}{res}{space 2}-.0681724{col 26}{space 2} .0262653{col 37}{space 1}   -2.60{col 46}{space 3}0.009{col 54}{space 4}-.1196514{col 67}{space 3}-.0166934
{txt}{space 5}lalcohc {c |}{col 14}{res}{space 2}-.0492587{col 26}{space 2} .1075163{col 37}{space 1}   -0.46{col 46}{space 3}0.647{col 54}{space 4}-.2599868{col 67}{space 3} .1614694
{txt}{space 8}gdpg {c |}{col 14}{res}{space 2} .0022947{col 26}{space 2} .0018289{col 37}{space 1}    1.25{col 46}{space 3}0.210{col 54}{space 4}-.0012899{col 67}{space 3} .0058794
{txt}{space 8}cid1 {c |}{col 14}{res}{space 2} 3.805725{col 26}{space 2} 4.942571{col 37}{space 1}    0.77{col 46}{space 3}0.441{col 54}{space 4}-5.881536{col 67}{space 3} 13.49299
{txt}{space 8}cid2 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid3 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid4 {c |}{col 14}{res}{space 2} 18.26167{col 26}{space 2} 3.629867{col 37}{space 1}    5.03{col 46}{space 3}0.000{col 54}{space 4} 11.14726{col 67}{space 3} 25.37608
{txt}{space 8}cid5 {c |}{col 14}{res}{space 2}-18.53722{col 26}{space 2} 10.95491{col 37}{space 1}   -1.69{col 46}{space 3}0.091{col 54}{space 4}-40.00845{col 67}{space 3} 2.934006
{txt}{space 8}cid6 {c |}{col 14}{res}{space 2} 41.50053{col 26}{space 2} 6.447938{col 37}{space 1}    6.44{col 46}{space 3}0.000{col 54}{space 4} 28.86281{col 67}{space 3} 54.13826
{txt}{space 8}cid7 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid8 {c |}{col 14}{res}{space 2} 11.81953{col 26}{space 2} 7.229827{col 37}{space 1}    1.63{col 46}{space 3}0.102{col 54}{space 4}-2.350667{col 67}{space 3} 25.98974
{txt}{space 8}cid9 {c |}{col 14}{res}{space 2} 34.80102{col 26}{space 2} 6.183371{col 37}{space 1}    5.63{col 46}{space 3}0.000{col 54}{space 4} 22.68183{col 67}{space 3}  46.9202
{txt}{space 7}cid10 {c |}{col 14}{res}{space 2}-13.65957{col 26}{space 2} 9.986875{col 37}{space 1}   -1.37{col 46}{space 3}0.171{col 54}{space 4}-33.23349{col 67}{space 3} 5.914347
{txt}{space 7}cid11 {c |}{col 14}{res}{space 2}-11.18809{col 26}{space 2}  14.9344{col 37}{space 1}   -0.75{col 46}{space 3}0.454{col 54}{space 4}-40.45898{col 67}{space 3} 18.08279
{txt}{space 7}cid12 {c |}{col 14}{res}{space 2} 16.37193{col 26}{space 2} 17.29064{col 37}{space 1}    0.95{col 46}{space 3}0.344{col 54}{space 4}-17.51711{col 67}{space 3} 50.26097
{txt}{space 7}cid13 {c |}{col 14}{res}{space 2} 36.29957{col 26}{space 2} 10.21519{col 37}{space 1}    3.55{col 46}{space 3}0.000{col 54}{space 4} 16.27816{col 67}{space 3} 56.32099
{txt}{space 7}cid14 {c |}{col 14}{res}{space 2}-29.27046{col 26}{space 2} 9.475574{col 37}{space 1}   -3.09{col 46}{space 3}0.002{col 54}{space 4}-47.84225{col 67}{space 3}-10.69868
{txt}{space 7}cid15 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid16 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid17 {c |}{col 14}{res}{space 2} 12.10598{col 26}{space 2} 7.161938{col 37}{space 1}    1.69{col 46}{space 3}0.091{col 54}{space 4}-1.931164{col 67}{space 3} 26.14312
{txt}{space 7}cid18 {c |}{col 14}{res}{space 2}-4.060793{col 26}{space 2} 6.894155{col 37}{space 1}   -0.59{col 46}{space 3}0.556{col 54}{space 4}-17.57309{col 67}{space 3} 9.451503
{txt}{space 7}cid19 {c |}{col 14}{res}{space 2} 15.67927{col 26}{space 2} 10.09339{col 37}{space 1}    1.55{col 46}{space 3}0.120{col 54}{space 4}-4.103418{col 67}{space 3} 35.46195
{txt}{space 7}cid20 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid21 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid22 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid23 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid24 {c |}{col 14}{res}{space 2}  84.2545{col 26}{space 2} 20.81212{col 37}{space 1}    4.05{col 46}{space 3}0.000{col 54}{space 4}  43.4635{col 67}{space 3} 125.0455
{txt}{space 7}cid25 {c |}{col 14}{res}{space 2}-2.008153{col 26}{space 2} 5.328478{col 37}{space 1}   -0.38{col 46}{space 3}0.706{col 54}{space 4}-12.45178{col 67}{space 3} 8.435471
{txt}{space 7}cid26 {c |}{col 14}{res}{space 2}-49.07774{col 26}{space 2} 19.32261{col 37}{space 1}   -2.54{col 46}{space 3}0.011{col 54}{space 4}-86.94936{col 67}{space 3}-11.20611
{txt}{space 7}cid27 {c |}{col 14}{res}{space 2} 12.63674{col 26}{space 2} 4.634635{col 37}{space 1}    2.73{col 46}{space 3}0.006{col 54}{space 4} 3.553018{col 67}{space 3} 21.72046
{txt}{space 8}year {c |}{col 14}{res}{space 2} .0228042{col 26}{space 2} .0053896{col 37}{space 1}    4.23{col 46}{space 3}0.000{col 54}{space 4} .0122408{col 67}{space 3} .0333677
{txt}{space 4}cidyear1 {c |}{col 14}{res}{space 2} -.001975{col 26}{space 2} .0024682{col 37}{space 1}   -0.80{col 46}{space 3}0.424{col 54}{space 4}-.0068127{col 67}{space 3} .0028626
{txt}{space 4}cidyear2 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 4}cidyear3 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 4}cidyear4 {c |}{col 14}{res}{space 2} -.009142{col 26}{space 2}   .00182{col 37}{space 1}   -5.02{col 46}{space 3}0.000{col 54}{space 4}-.0127092{col 67}{space 3}-.0055748
{txt}{space 4}cidyear5 {c |}{col 14}{res}{space 2} .0090709{col 26}{space 2} .0054414{col 37}{space 1}    1.67{col 46}{space 3}0.096{col 54}{space 4} -.001594{col 67}{space 3} .0197359
{txt}{space 4}cidyear6 {c |}{col 14}{res}{space 2}-.0204549{col 26}{space 2} .0032167{col 37}{space 1}   -6.36{col 46}{space 3}0.000{col 54}{space 4}-.0267596{col 67}{space 3}-.0141503
{txt}{space 4}cidyear7 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 4}cidyear8 {c |}{col 14}{res}{space 2}-.0057455{col 26}{space 2} .0036172{col 37}{space 1}   -1.59{col 46}{space 3}0.112{col 54}{space 4} -.012835{col 67}{space 3}  .001344
{txt}{space 4}cidyear9 {c |}{col 14}{res}{space 2}-.0174556{col 26}{space 2} .0030783{col 37}{space 1}   -5.67{col 46}{space 3}0.000{col 54}{space 4}-.0234889{col 67}{space 3}-.0114223
{txt}{space 3}cidyear10 {c |}{col 14}{res}{space 2} .0069219{col 26}{space 2} .0049992{col 37}{space 1}    1.38{col 46}{space 3}0.166{col 54}{space 4}-.0028764{col 67}{space 3} .0167202
{txt}{space 3}cidyear11 {c |}{col 14}{res}{space 2} .0052891{col 26}{space 2} .0074582{col 37}{space 1}    0.71{col 46}{space 3}0.478{col 54}{space 4}-.0093287{col 67}{space 3}  .019907
{txt}{space 3}cidyear12 {c |}{col 14}{res}{space 2}-.0083747{col 26}{space 2} .0086219{col 37}{space 1}   -0.97{col 46}{space 3}0.331{col 54}{space 4}-.0252733{col 67}{space 3} .0085238
{txt}{space 3}cidyear13 {c |}{col 14}{res}{space 2}-.0180786{col 26}{space 2} .0051097{col 37}{space 1}   -3.54{col 46}{space 3}0.000{col 54}{space 4}-.0280934{col 67}{space 3}-.0080639
{txt}{space 3}cidyear14 {c |}{col 14}{res}{space 2} .0144967{col 26}{space 2} .0047175{col 37}{space 1}    3.07{col 46}{space 3}0.002{col 54}{space 4} .0052506{col 67}{space 3} .0237428
{txt}{space 3}cidyear15 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 3}cidyear16 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 3}cidyear17 {c |}{col 14}{res}{space 2}-.0058709{col 26}{space 2} .0035684{col 37}{space 1}   -1.65{col 46}{space 3}0.100{col 54}{space 4}-.0128648{col 67}{space 3} .0011229
{txt}{space 3}cidyear18 {c |}{col 14}{res}{space 2} .0018229{col 26}{space 2} .0034485{col 37}{space 1}    0.53{col 46}{space 3}0.597{col 54}{space 4}-.0049361{col 67}{space 3} .0085818
{txt}{space 3}cidyear19 {c |}{col 14}{res}{space 2}-.0075691{col 26}{space 2} .0050449{col 37}{space 1}   -1.50{col 46}{space 3}0.134{col 54}{space 4} -.017457{col 67}{space 3} .0023189
{txt}{space 3}cidyear20 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 3}cidyear21 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 3}cidyear22 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 3}cidyear23 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 3}cidyear24 {c |}{col 14}{res}{space 2}-.0418179{col 26}{space 2} .0103746{col 37}{space 1}   -4.03{col 46}{space 3}0.000{col 54}{space 4}-.0621518{col 67}{space 3} -.021484
{txt}{space 3}cidyear25 {c |}{col 14}{res}{space 2} .0010588{col 26}{space 2} .0026595{col 37}{space 1}    0.40{col 46}{space 3}0.691{col 54}{space 4}-.0041537{col 67}{space 3} .0062712
{txt}{space 3}cidyear26 {c |}{col 14}{res}{space 2} .0234957{col 26}{space 2} .0096238{col 37}{space 1}    2.44{col 46}{space 3}0.015{col 54}{space 4} .0046333{col 67}{space 3} .0423581
{txt}{space 3}cidyear27 {c |}{col 14}{res}{space 2}-.0062779{col 26}{space 2} .0023067{col 37}{space 1}   -2.72{col 46}{space 3}0.006{col 54}{space 4}-.0107989{col 67}{space 3} -.001757
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} -44.0126{col 26}{space 2} 8.417092{col 37}{space 1}   -5.23{col 46}{space 3}0.000{col 54}{space 4} -60.5098{col 67}{space 3} -27.5154
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
         rho {c |}  {res} .2624323
{txt}{hline 13}{c BT}{hline 64}

{com}. 
. /////// Finally, I used the different heterogeneous panel models
> xtmg lhl lprod k pop14 pop65 male llex linfmo ltobaco lalcohc gdpg, trend 
{txt}{col 2}Note: {res}62{txt} obs. dropped (panels too small)


Pesaran & Smith (1995) Mean Group estimator

All coefficients present represent averages across groups ({res}cid{txt})
Coefficient averages computed as {res}unweighted{txt} means

Mean Group type estimation{col 49}Number of obs{col 67}={col 69}{res}       199
{txt}Group variable: {res}cid{col 49}{txt}Number of groups{col 67}={col 69}{res}        13

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}        13
{txt}{col 63}avg{col 67}={col 69}{res}      15.3
{txt}{col 63}max{col 67}={col 69}{res}        18

{txt}{col 49}Wald chi2({res}10{txt}){col 67}={col 70}{res}    15.73
{txt}{col 49}Prob > chi2{col 67}={res}{col 73}0.1077

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}         lhl{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}lprod {c |}{col 14}{res}{space 2} .0147901{col 26}{space 2} .2783044{col 37}{space 1}    0.05{col 46}{space 3}0.958{col 54}{space 4}-.5306766{col 67}{space 3} .5602568
{txt}{space 11}k {c |}{col 14}{res}{space 2} .0100181{col 26}{space 2} .0093607{col 37}{space 1}    1.07{col 46}{space 3}0.285{col 54}{space 4}-.0083286{col 67}{space 3} .0283647
{txt}{space 7}pop14 {c |}{col 14}{res}{space 2}-.0492556{col 26}{space 2} .0836603{col 37}{space 1}   -0.59{col 46}{space 3}0.556{col 54}{space 4}-.2132269{col 67}{space 3} .1147156
{txt}{space 7}pop65 {c |}{col 14}{res}{space 2}-.0241771{col 26}{space 2} .0682219{col 37}{space 1}   -0.35{col 46}{space 3}0.723{col 54}{space 4}-.1578896{col 67}{space 3} .1095354
{txt}{space 8}male {c |}{col 14}{res}{space 2}-.1659087{col 26}{space 2} .2275199{col 37}{space 1}   -0.73{col 46}{space 3}0.466{col 54}{space 4}-.6118396{col 67}{space 3} .2800221
{txt}{space 8}llex {c |}{col 14}{res}{space 2} 5.442835{col 26}{space 2} 3.427265{col 37}{space 1}    1.59{col 46}{space 3}0.112{col 54}{space 4}-1.274481{col 67}{space 3} 12.16015
{txt}{space 6}linfmo {c |}{col 14}{res}{space 2} .1007969{col 26}{space 2} .0896507{col 37}{space 1}    1.12{col 46}{space 3}0.261{col 54}{space 4}-.0749153{col 67}{space 3} .2765092
{txt}{space 5}ltobaco {c |}{col 14}{res}{space 2}-.0320747{col 26}{space 2} .1725517{col 37}{space 1}   -0.19{col 46}{space 3}0.853{col 54}{space 4}-.3702697{col 67}{space 3} .3061203
{txt}{space 5}lalcohc {c |}{col 14}{res}{space 2} .0596888{col 26}{space 2} .2354808{col 37}{space 1}    0.25{col 46}{space 3}0.800{col 54}{space 4} -.401845{col 67}{space 3} .5212227
{txt}{space 8}gdpg {c |}{col 14}{res}{space 2} .0025678{col 26}{space 2}  .002567{col 37}{space 1}    1.00{col 46}{space 3}0.317{col 54}{space 4}-.0024634{col 67}{space 3} .0075991
{txt}{space 2}__000007_t {c |}{col 14}{res}{space 2} .0012215{col 26}{space 2} .0152653{col 37}{space 1}    0.08{col 46}{space 3}0.936{col 54}{space 4} -.028698{col 67}{space 3} .0311409
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-13.16906{col 26}{space 2} 18.20263{col 37}{space 1}   -0.72{col 46}{space 3}0.469{col 54}{space 4}-48.84555{col 67}{space 3} 22.50744
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Root Mean Squared Error (sigma): {res}0.0143
{txt}Variable {res}__000007_t{txt} refers to a group-specific linear trend.
Share of group-specific trends significant at 5% level: {res}0.000 (= 0 trends)
{txt}
{com}. xtmg lhl lprod k pop14 pop65 male llex linfmo ltobaco lalcohc gdpg, cce trend 
{txt}{col 2}Note: {res}62{txt} obs. dropped (panels too small)


Pesaran (2006) Common Correlated Effects Mean Group estimator

All coefficients present represent averages across groups ({res}cid{txt})
Coefficient averages computed as {res}unweighted{txt} means

Mean Group type estimation{col 49}Number of obs{col 67}={col 69}{res}       199
{txt}Group variable: {res}cid{col 49}{txt}Number of groups{col 67}={col 69}{res}        13

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}        13
{txt}{col 63}avg{col 67}={col 69}{res}      15.3
{txt}{col 63}max{col 67}={col 69}{res}        18

{txt}{col 49}Wald chi2({res}9{txt}){col 67}={col 70}{res}    19.27
{txt}{col 49}Prob > chi2{col 67}={res}{col 73}0.0230

{txt}{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}             lhl{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 11}lprod {c |}{col 18}{res}{space 2} .4579777{col 30}{space 2} .3964218{col 41}{space 1}    1.16{col 50}{space 3}0.248{col 58}{space 4}-.3189948{col 71}{space 3}  1.23495
{txt}{space 15}k {c |}{col 18}{res}{space 2} .0110475{col 30}{space 2} .0276848{col 41}{space 1}    0.40{col 50}{space 3}0.690{col 58}{space 4}-.0432137{col 71}{space 3} .0653086
{txt}{space 11}pop14 {c |}{col 18}{res}{space 2} .1674825{col 30}{space 2}  .176887{col 41}{space 1}    0.95{col 50}{space 3}0.344{col 58}{space 4}-.1792096{col 71}{space 3} .5141746
{txt}{space 11}pop65 {c |}{col 18}{res}{space 2} .2259372{col 30}{space 2} .2174554{col 41}{space 1}    1.04{col 50}{space 3}0.299{col 58}{space 4}-.2002675{col 71}{space 3} .6521419
{txt}{space 12}male {c |}{col 18}{res}{space 2} .3788795{col 30}{space 2} .2614623{col 41}{space 1}    1.45{col 50}{space 3}0.147{col 58}{space 4}-.1335771{col 71}{space 3} .8913361
{txt}{space 12}llex {c |}{col 18}{res}{space 2}        0{col 30}{txt}  (omitted)
{space 10}linfmo {c |}{col 18}{res}{space 2} .3483291{col 30}{space 2} .1591948{col 41}{space 1}    2.19{col 50}{space 3}0.029{col 58}{space 4} .0363131{col 71}{space 3} .6603451
{txt}{space 9}ltobaco {c |}{col 18}{res}{space 2} .0691825{col 30}{space 2} .2353011{col 41}{space 1}    0.29{col 50}{space 3}0.769{col 58}{space 4}-.3919992{col 71}{space 3} .5303642
{txt}{space 9}lalcohc {c |}{col 18}{res}{space 2} .7109827{col 30}{space 2} .3211626{col 41}{space 1}    2.21{col 50}{space 3}0.027{col 58}{space 4} .0815156{col 71}{space 3}  1.34045
{txt}{space 12}gdpg {c |}{col 18}{res}{space 2}-.0042569{col 30}{space 2}  .007743{col 41}{space 1}   -0.55{col 50}{space 3}0.582{col 58}{space 4} -.019433{col 71}{space 3} .0109191
{txt}{space 6}__000007_t {c |}{col 18}{res}{space 2} .0319468{col 30}{space 2} .0342127{col 41}{space 1}    0.93{col 50}{space 3}0.350{col 58}{space 4}-.0351088{col 71}{space 3} .0990025
{txt}{space 4}__00000M_lhl {c |}{col 18}{res}{space 2} .3561212{col 30}{space 2} .5752653{col 41}{space 1}    0.62{col 50}{space 3}0.536{col 58}{space 4}-.7713781{col 71}{space 3} 1.483621
{txt}{space 2}__00000L_lprod {c |}{col 18}{res}{space 2}-.4132214{col 30}{space 2} .7875508{col 41}{space 1}   -0.52{col 50}{space 3}0.600{col 58}{space 4}-1.956793{col 71}{space 3}  1.13035
{txt}{space 6}__00000L_k {c |}{col 18}{res}{space 2} .0139282{col 30}{space 2} .0314373{col 41}{space 1}    0.44{col 50}{space 3}0.658{col 58}{space 4}-.0476878{col 71}{space 3} .0755443
{txt}{space 2}__00000L_pop14 {c |}{col 18}{res}{space 2}-.0479326{col 30}{space 2} .1881772{col 41}{space 1}   -0.25{col 50}{space 3}0.799{col 58}{space 4}-.4167531{col 71}{space 3} .3208878
{txt}{space 2}__00000L_pop65 {c |}{col 18}{res}{space 2} .0106139{col 30}{space 2} .1729326{col 41}{space 1}    0.06{col 50}{space 3}0.951{col 58}{space 4}-.3283278{col 71}{space 3} .3495556
{txt}{space 3}__00000L_male {c |}{col 18}{res}{space 2}-.2741906{col 30}{space 2} .6033653{col 41}{space 1}   -0.45{col 50}{space 3}0.650{col 58}{space 4}-1.456765{col 71}{space 3} .9083836
{txt}{space 3}__00000L_llex {c |}{col 18}{res}{space 2}        0{col 30}{txt}  (omitted)
{space 1}__00000L_linfmo {c |}{col 18}{res}{space 2}-.0176877{col 30}{space 2} .2203326{col 41}{space 1}   -0.08{col 50}{space 3}0.936{col 58}{space 4}-.4495316{col 71}{space 3} .4141563
{txt}__00000L_ltobaco {c |}{col 18}{res}{space 2}-.4743043{col 30}{space 2} .5094754{col 41}{space 1}   -0.93{col 50}{space 3}0.352{col 58}{space 4}-1.472858{col 71}{space 3} .5242491
{txt}__00000L_lalcohc {c |}{col 18}{res}{space 2}        0{col 30}{txt}  (omitted)
{space 3}__00000L_gdpg {c |}{col 18}{res}{space 2} .0049342{col 30}{space 2} .0092824{col 41}{space 1}    0.53{col 50}{space 3}0.595{col 58}{space 4} -.013259{col 71}{space 3} .0231274
{txt}{space 11}_cons {c |}{col 18}{res}{space 2}-11.07974{col 30}{space 2} 24.51254{col 41}{space 1}   -0.45{col 50}{space 3}0.651{col 58}{space 4}-59.12344{col 71}{space 3} 36.96395
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Root Mean Squared Error (sigma): {res}0.0000
{txt}Cross-section averaged {res}regressors{txt} are marked by the suffix: 
{res}   _lhl, _lprod, _k, _pop14, _pop65, _male, _llex, _linfmo, _ltobaco, _lalcohc, _gdpg{txt} respectively.
Variable {res}__000007_t{txt} refers to a group-specific linear trend.
Share of group-specific trends significant at 5% level: {res}0.000 (= 0 trends)
{txt}Note that augmentation of the CCEMG estimator should account for the impact of
group-specific linear trends. The latter are unidentified.

{com}. xtmg lhl lprod k pop14 pop65 male llex linfmo ltobaco lalcohc gdpg, aug trend 
{txt}{col 2}Note: {res}88{txt} obs. dropped (panels too small)


Augmented Mean Group estimator (Bond & Eberhardt, 2009; Eberhardt & Teal, 2010)

Common dynamic process {res}included{txt} as additional regressor
All coefficients present represent averages across groups ({res}cid{txt})
Coefficient averages computed as {res}unweighted{txt} means

Mean Group type estimation{col 49}Number of obs{col 67}={col 69}{res}       173
{txt}Group variable: {res}cid{col 49}{txt}Number of groups{col 67}={col 69}{res}        11

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}        14
{txt}{col 63}avg{col 67}={col 69}{res}      15.7
{txt}{col 63}max{col 67}={col 69}{res}        18

{txt}{col 49}Wald chi2({res}10{txt}){col 67}={col 70}{res}   473.30
{txt}{col 49}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}         lhl{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}lprod {c |}{col 14}{res}{space 2} .0959918{col 26}{space 2} .2802908{col 37}{space 1}    0.34{col 46}{space 3}0.732{col 54}{space 4}-.4533681{col 67}{space 3} .6453517
{txt}{space 11}k {c |}{col 14}{res}{space 2} .0025177{col 26}{space 2} .0073691{col 37}{space 1}    0.34{col 46}{space 3}0.733{col 54}{space 4}-.0119255{col 67}{space 3} .0169609
{txt}{space 7}pop14 {c |}{col 14}{res}{space 2} .0730864{col 26}{space 2} .1477349{col 37}{space 1}    0.49{col 46}{space 3}0.621{col 54}{space 4}-.2164687{col 67}{space 3} .3626415
{txt}{space 7}pop65 {c |}{col 14}{res}{space 2} .1917075{col 26}{space 2} .1094236{col 37}{space 1}    1.75{col 46}{space 3}0.080{col 54}{space 4}-.0227588{col 67}{space 3} .4061738
{txt}{space 8}male {c |}{col 14}{res}{space 2} .0506784{col 26}{space 2} .2057133{col 37}{space 1}    0.25{col 46}{space 3}0.805{col 54}{space 4}-.3525122{col 67}{space 3}  .453869
{txt}{space 8}llex {c |}{col 14}{res}{space 2} 6.423379{col 26}{space 2} 4.255561{col 37}{space 1}    1.51{col 46}{space 3}0.131{col 54}{space 4}-1.917368{col 67}{space 3} 14.76412
{txt}{space 6}linfmo {c |}{col 14}{res}{space 2}  .127315{col 26}{space 2}  .063459{col 37}{space 1}    2.01{col 46}{space 3}0.045{col 54}{space 4} .0029376{col 67}{space 3} .2516924
{txt}{space 5}ltobaco {c |}{col 14}{res}{space 2}-.1197035{col 26}{space 2} .0897436{col 37}{space 1}   -1.33{col 46}{space 3}0.182{col 54}{space 4}-.2955977{col 67}{space 3} .0561907
{txt}{space 5}lalcohc {c |}{col 14}{res}{space 2} .3095664{col 26}{space 2} .1772031{col 37}{space 1}    1.75{col 46}{space 3}0.081{col 54}{space 4}-.0377452{col 67}{space 3}  .656878
{txt}{space 8}gdpg {c |}{col 14}{res}{space 2}-.0015604{col 26}{space 2} .0028854{col 37}{space 1}   -0.54{col 46}{space 3}0.589{col 54}{space 4}-.0072157{col 67}{space 3} .0040948
{txt}{space 2}__00000R_c {c |}{col 14}{res}{space 2} 1.043453{col 26}{space 2} .4894619{col 37}{space 1}    2.13{col 46}{space 3}0.033{col 54}{space 4} .0841254{col 67}{space 3} 2.002781
{txt}{space 2}__000007_t {c |}{col 14}{res}{space 2}-.0418769{col 26}{space 2} .0237821{col 37}{space 1}   -1.76{col 46}{space 3}0.078{col 54}{space 4}-.0884889{col 67}{space 3} .0047351
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-32.75047{col 26}{space 2} 22.85373{col 37}{space 1}   -1.43{col 46}{space 3}0.152{col 54}{space 4}-77.54295{col 67}{space 3} 12.04201
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Root Mean Squared Error (sigma): {res}0.0099
{txt}Variable {res}__00000R_c{txt} refers to the common dynamic process.
Variable {res}__000007_t{txt} refers to a group-specific linear trend.
Share of group-specific trends significant at 5% level: {res}0.091 (= 1 trends)
{txt}
{com}. 
. 
. ////////////////////////////////////////////////////////////
> ///////////////////  PHPNH - Model (7) ///////////////////////
> ////////////////////////////////////////////////////////////
> 
. /////// First test for serial correlation
> xtserial phpnh prod pop14 pop65 male lex infmo cid1-cid27 year cidyear1-cidyear27

{txt}Wooldridge test for autocorrelation in panel data
H0: no first order autocorrelation
{col 5}F(  1,      23) = {res}    46.607
{txt}{col 12}Prob > F = {res}     0.0000
{txt}
{com}. 
. /////// Next test for cross-sectional correlation
> /////// I use the Pesaran test because it can be used with unbalanced data
> xtreg phpnh prod pop14 pop65 male lex infmo cid1-cid27 year cidyear1-cidyear27, fe
{p 0 6 2}{txt}note: cid1 omitted because of collinearity{p_end}
{p 0 6 2}note: cid2 omitted because of collinearity{p_end}
{p 0 6 2}note: cid3 omitted because of collinearity{p_end}
{p 0 6 2}note: cid4 omitted because of collinearity{p_end}
{p 0 6 2}note: cid5 omitted because of collinearity{p_end}
{p 0 6 2}note: cid6 omitted because of collinearity{p_end}
{p 0 6 2}note: cid7 omitted because of collinearity{p_end}
{p 0 6 2}note: cid8 omitted because of collinearity{p_end}
{p 0 6 2}note: cid9 omitted because of collinearity{p_end}
{p 0 6 2}note: cid10 omitted because of collinearity{p_end}
{p 0 6 2}note: cid11 omitted because of collinearity{p_end}
{p 0 6 2}note: cid12 omitted because of collinearity{p_end}
{p 0 6 2}note: cid13 omitted because of collinearity{p_end}
{p 0 6 2}note: cid14 omitted because of collinearity{p_end}
{p 0 6 2}note: cid15 omitted because of collinearity{p_end}
{p 0 6 2}note: cid16 omitted because of collinearity{p_end}
{p 0 6 2}note: cid17 omitted because of collinearity{p_end}
{p 0 6 2}note: cid18 omitted because of collinearity{p_end}
{p 0 6 2}note: cid19 omitted because of collinearity{p_end}
{p 0 6 2}note: cid20 omitted because of collinearity{p_end}
{p 0 6 2}note: cid21 omitted because of collinearity{p_end}
{p 0 6 2}note: cid22 omitted because of collinearity{p_end}
{p 0 6 2}note: cid23 omitted because of collinearity{p_end}
{p 0 6 2}note: cid24 omitted because of collinearity{p_end}
{p 0 6 2}note: cid25 omitted because of collinearity{p_end}
{p 0 6 2}note: cid26 omitted because of collinearity{p_end}
{p 0 6 2}note: cid27 omitted because of collinearity{p_end}
{p 0 6 2}note: cidyear1 omitted because of collinearity{p_end}
{p 0 6 2}note: cidyear4 omitted because of collinearity{p_end}
{p 0 6 2}note: cidyear18 omitted because of collinearity{p_end}
{p 0 6 2}note: cidyear20 omitted because of collinearity{p_end}
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       456
{txt}Group variable: {res}cid{txt}{col 49}Number of groups{col 67}={col 69}{res}        24

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.7127{col 63}{txt}min{col 67}={col 69}{res}        11
{txt}     between = {res}0.8904{col 63}{txt}avg{col 67}={col 69}{res}      19.0
{txt}     overall = {res}0.5405{col 63}{txt}max{col 67}={col 69}{res}        20

{txt}{col 49}F({res}30{txt},{res}402{txt}){col 67}={col 70}{res}    33.23
{txt}corr(u_i, Xb){col 16}= {res}-1.0000{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}       phpnh{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}prod {c |}{col 14}{res}{space 2}-.9245619{col 26}{space 2}  .155836{col 37}{space 1}   -5.93{col 46}{space 3}0.000{col 54}{space 4}-1.230917{col 67}{space 3}-.6182067
{txt}{space 7}pop14 {c |}{col 14}{res}{space 2}-3.560873{col 26}{space 2} .8086657{col 37}{space 1}   -4.40{col 46}{space 3}0.000{col 54}{space 4}-5.150615{col 67}{space 3}-1.971131
{txt}{space 7}pop65 {c |}{col 14}{res}{space 2} .2183654{col 26}{space 2} .7403538{col 37}{space 1}    0.29{col 46}{space 3}0.768{col 54}{space 4}-1.237083{col 67}{space 3} 1.673814
{txt}{space 8}male {c |}{col 14}{res}{space 2}-8.267536{col 26}{space 2} 2.896721{col 37}{space 1}   -2.85{col 46}{space 3}0.005{col 54}{space 4}-13.96215{col 67}{space 3}-2.572922
{txt}{space 9}lex {c |}{col 14}{res}{space 2} .2161933{col 26}{space 2} 1.081468{col 37}{space 1}    0.20{col 46}{space 3}0.842{col 54}{space 4}-1.909846{col 67}{space 3} 2.342233
{txt}{space 7}infmo {c |}{col 14}{res}{space 2}-1.055592{col 26}{space 2} .4427113{col 37}{space 1}   -2.38{col 46}{space 3}0.018{col 54}{space 4}-1.925911{col 67}{space 3}-.1852738
{txt}{space 8}cid1 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid2 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid3 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid4 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid5 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid6 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid7 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid8 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid9 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid10 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid11 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid12 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid13 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid14 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid15 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid16 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid17 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid18 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid19 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid20 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid21 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid22 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid23 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid24 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid25 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid26 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid27 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}year {c |}{col 14}{res}{space 2} 2.334213{col 26}{space 2} .5855223{col 37}{space 1}    3.99{col 46}{space 3}0.000{col 54}{space 4} 1.183145{col 67}{space 3} 3.485281
{txt}{space 4}cidyear1 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 4}cidyear2 {c |}{col 14}{res}{space 2}-.9085356{col 26}{space 2} .5089048{col 37}{space 1}   -1.79{col 46}{space 3}0.075{col 54}{space 4}-1.908983{col 67}{space 3} .0919114
{txt}{space 4}cidyear3 {c |}{col 14}{res}{space 2}-2.203133{col 26}{space 2} .5137509{col 37}{space 1}   -4.29{col 46}{space 3}0.000{col 54}{space 4}-3.213106{col 67}{space 3}-1.193159
{txt}{space 4}cidyear4 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 4}cidyear5 {c |}{col 14}{res}{space 2} 1.044357{col 26}{space 2} .5276713{col 37}{space 1}    1.98{col 46}{space 3}0.048{col 54}{space 4} .0070169{col 67}{space 3} 2.081697
{txt}{space 4}cidyear6 {c |}{col 14}{res}{space 2} -1.17929{col 26}{space 2} .5199254{col 37}{space 1}   -2.27{col 46}{space 3}0.024{col 54}{space 4}-2.201402{col 67}{space 3}-.1571779
{txt}{space 4}cidyear7 {c |}{col 14}{res}{space 2}-.8482854{col 26}{space 2} .6946879{col 37}{space 1}   -1.22{col 46}{space 3}0.223{col 54}{space 4} -2.21396{col 67}{space 3} .5173895
{txt}{space 4}cidyear8 {c |}{col 14}{res}{space 2}-1.271064{col 26}{space 2} .5214404{col 37}{space 1}   -2.44{col 46}{space 3}0.015{col 54}{space 4}-2.296155{col 67}{space 3}-.2459736
{txt}{space 4}cidyear9 {c |}{col 14}{res}{space 2}-1.140009{col 26}{space 2} .5152452{col 37}{space 1}   -2.21{col 46}{space 3}0.027{col 54}{space 4}-2.152921{col 67}{space 3}-.1270977
{txt}{space 3}cidyear10 {c |}{col 14}{res}{space 2}-.7771681{col 26}{space 2} .5169492{col 37}{space 1}   -1.50{col 46}{space 3}0.134{col 54}{space 4} -1.79343{col 67}{space 3} .2390935
{txt}{space 3}cidyear11 {c |}{col 14}{res}{space 2}-3.477151{col 26}{space 2} .5310773{col 37}{space 1}   -6.55{col 46}{space 3}0.000{col 54}{space 4}-4.521186{col 67}{space 3}-2.433115
{txt}{space 3}cidyear12 {c |}{col 14}{res}{space 2} .0812703{col 26}{space 2} .5321986{col 37}{space 1}    0.15{col 46}{space 3}0.879{col 54}{space 4}-.9649698{col 67}{space 3}  1.12751
{txt}{space 3}cidyear13 {c |}{col 14}{res}{space 2}-2.439286{col 26}{space 2} .5146915{col 37}{space 1}   -4.74{col 46}{space 3}0.000{col 54}{space 4}-3.451109{col 67}{space 3}-1.427463
{txt}{space 3}cidyear14 {c |}{col 14}{res}{space 2} 1.706868{col 26}{space 2} .5559977{col 37}{space 1}    3.07{col 46}{space 3}0.002{col 54}{space 4} .6138416{col 67}{space 3} 2.799894
{txt}{space 3}cidyear15 {c |}{col 14}{res}{space 2}-1.238112{col 26}{space 2} .5300241{col 37}{space 1}   -2.34{col 46}{space 3}0.020{col 54}{space 4}-2.280077{col 67}{space 3}-.1961465
{txt}{space 3}cidyear16 {c |}{col 14}{res}{space 2} -1.44427{col 26}{space 2} .5407218{col 37}{space 1}   -2.67{col 46}{space 3}0.008{col 54}{space 4}-2.507266{col 67}{space 3}-.3812747
{txt}{space 3}cidyear17 {c |}{col 14}{res}{space 2}  .137976{col 26}{space 2} .5093249{col 37}{space 1}    0.27{col 46}{space 3}0.787{col 54}{space 4} -.863297{col 67}{space 3} 1.139249
{txt}{space 3}cidyear18 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 3}cidyear19 {c |}{col 14}{res}{space 2} 1.503084{col 26}{space 2} .5424329{col 37}{space 1}    2.77{col 46}{space 3}0.006{col 54}{space 4} .4367246{col 67}{space 3} 2.569444
{txt}{space 3}cidyear20 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 3}cidyear21 {c |}{col 14}{res}{space 2}-2.709696{col 26}{space 2} .5658122{col 37}{space 1}   -4.79{col 46}{space 3}0.000{col 54}{space 4}-3.822017{col 67}{space 3}-1.597376
{txt}{space 3}cidyear22 {c |}{col 14}{res}{space 2}-2.674979{col 26}{space 2} .6338362{col 37}{space 1}   -4.22{col 46}{space 3}0.000{col 54}{space 4}-3.921027{col 67}{space 3}-1.428931
{txt}{space 3}cidyear23 {c |}{col 14}{res}{space 2}-2.929159{col 26}{space 2} .5375226{col 37}{space 1}   -5.45{col 46}{space 3}0.000{col 54}{space 4}-3.985865{col 67}{space 3}-1.872453
{txt}{space 3}cidyear24 {c |}{col 14}{res}{space 2}-.4599863{col 26}{space 2} .5039499{col 37}{space 1}   -0.91{col 46}{space 3}0.362{col 54}{space 4}-1.450693{col 67}{space 3} .5307201
{txt}{space 3}cidyear25 {c |}{col 14}{res}{space 2}-1.351085{col 26}{space 2} .7343313{col 37}{space 1}   -1.84{col 46}{space 3}0.067{col 54}{space 4}-2.794694{col 67}{space 3} .0925242
{txt}{space 3}cidyear26 {c |}{col 14}{res}{space 2}-8.441426{col 26}{space 2} .9116821{col 37}{space 1}   -9.26{col 46}{space 3}0.000{col 54}{space 4}-10.23369{col 67}{space 3}-6.649166
{txt}{space 3}cidyear27 {c |}{col 14}{res}{space 2}-.6285709{col 26}{space 2} .5240056{col 37}{space 1}   -1.20{col 46}{space 3}0.231{col 54}{space 4}-1.658704{col 67}{space 3} .4015626
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} -1421.43{col 26}{space 2} 811.6119{col 37}{space 1}   -1.75{col 46}{space 3}0.081{col 54}{space 4}-3016.964{col 67}{space 3} 174.1039
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} 4076.6902
     {txt}sigma_e {c |} {res} 5.9318881
         {txt}rho {c |} {res} .99999788{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
F test that all u_i=0: F({res}23{txt}, {res}402{txt}) = {res}31.14{col 62}{txt}Prob > F = {res}0.0000
{txt}
{com}. xtcsd, pesaran
{res} 
 
{txt}Pesaran's test of cross sectional independence = {res}    2.976{txt}, Pr = {res}0.0029
{txt}
{com}. 
. /////// Next I estimate the model using PCSE
> xtpcse phpnh prod pop14 pop65 male lex infmo cid1-cid27 year cidyear1-cidyear27, correlation(ar1)
{txt}note: cid1 omitted because of collinearity
note: cid4 omitted because of collinearity
note: cid18 omitted because of collinearity
note: cid20 omitted because of collinearity
note: cidyear1 omitted because of collinearity
note: cidyear4 omitted because of collinearity
note: cidyear18 omitted because of collinearity
note: cidyear20 omitted because of collinearity
{res}
{txt}Prais-Winsten regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}cid{col 49}{txt}Number of obs{col 67}= {res}       456
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        24
{txt}Panels:{col 19}{res}correlated (unbalanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}common AR(1){col 63}{txt}min{col 67}= {res}        11
{txt}Sigma computed by {col 19}{res}casewise selection{txt}{col 63}avg{col 67}= {res}        19
{txt}{col 63}max{col 67}= {res}        20
{txt}Estimated covariances{col 28}= {res}      300{col 49}{txt}R-squared{col 67}= {res}    0.8838
{txt}Estimated autocorrelations{col 28}= {res}        1{col 49}{txt}Wald chi2({res}35{txt}){col 67}= {res}  2.05e+09
{txt}Estimated coefficients{col 28}= {res}       54{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}Panel-corrected
{col 1}       phpnh{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}prod {c |}{col 14}{res}{space 2}-.4999989{col 26}{space 2} .0959486{col 37}{space 1}   -5.21{col 46}{space 3}0.000{col 54}{space 4}-.6880547{col 67}{space 3}-.3119431
{txt}{space 7}pop14 {c |}{col 14}{res}{space 2}-3.384529{col 26}{space 2} .5008911{col 37}{space 1}   -6.76{col 46}{space 3}0.000{col 54}{space 4}-4.366257{col 67}{space 3}  -2.4028
{txt}{space 7}pop65 {c |}{col 14}{res}{space 2} .3936228{col 26}{space 2} .4531003{col 37}{space 1}    0.87{col 46}{space 3}0.385{col 54}{space 4}-.4944373{col 67}{space 3} 1.281683
{txt}{space 8}male {c |}{col 14}{res}{space 2}-5.819995{col 26}{space 2} 1.824206{col 37}{space 1}   -3.19{col 46}{space 3}0.001{col 54}{space 4}-9.395373{col 67}{space 3}-2.244616
{txt}{space 9}lex {c |}{col 14}{res}{space 2}-.4270966{col 26}{space 2} .6611677{col 37}{space 1}   -0.65{col 46}{space 3}0.518{col 54}{space 4}-1.722961{col 67}{space 3} .8687682
{txt}{space 7}infmo {c |}{col 14}{res}{space 2}-.9283766{col 26}{space 2} .3846239{col 37}{space 1}   -2.41{col 46}{space 3}0.016{col 54}{space 4}-1.682226{col 67}{space 3}-.1745277
{txt}{space 8}cid1 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid2 {c |}{col 14}{res}{space 2} 1672.694{col 26}{space 2} 383.3743{col 37}{space 1}    4.36{col 46}{space 3}0.000{col 54}{space 4} 921.2944{col 67}{space 3} 2424.094
{txt}{space 8}cid3 {c |}{col 14}{res}{space 2} 4167.673{col 26}{space 2} 508.5411{col 37}{space 1}    8.20{col 46}{space 3}0.000{col 54}{space 4} 3170.951{col 67}{space 3} 5164.395
{txt}{space 8}cid4 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid5 {c |}{col 14}{res}{space 2}-2067.957{col 26}{space 2} 1095.321{col 37}{space 1}   -1.89{col 46}{space 3}0.059{col 54}{space 4}-4214.746{col 67}{space 3} 78.83145
{txt}{space 8}cid6 {c |}{col 14}{res}{space 2} 2346.446{col 26}{space 2} 455.3872{col 37}{space 1}    5.15{col 46}{space 3}0.000{col 54}{space 4} 1453.904{col 67}{space 3} 3238.989
{txt}{space 8}cid7 {c |}{col 14}{res}{space 2} 514.0838{col 26}{space 2} 759.5042{col 37}{space 1}    0.68{col 46}{space 3}0.498{col 54}{space 4} -974.517{col 67}{space 3} 2002.685
{txt}{space 8}cid8 {c |}{col 14}{res}{space 2} 2107.594{col 26}{space 2} 437.1233{col 37}{space 1}    4.82{col 46}{space 3}0.000{col 54}{space 4} 1250.848{col 67}{space 3}  2964.34
{txt}{space 8}cid9 {c |}{col 14}{res}{space 2}  1978.63{col 26}{space 2} 450.1878{col 37}{space 1}    4.40{col 46}{space 3}0.000{col 54}{space 4} 1096.279{col 67}{space 3} 2860.982
{txt}{space 7}cid10 {c |}{col 14}{res}{space 2} 1464.286{col 26}{space 2} 479.1562{col 37}{space 1}    3.06{col 46}{space 3}0.002{col 54}{space 4}  525.157{col 67}{space 3} 2403.415
{txt}{space 7}cid11 {c |}{col 14}{res}{space 2} 6730.547{col 26}{space 2} 471.2602{col 37}{space 1}   14.28{col 46}{space 3}0.000{col 54}{space 4} 5806.894{col 67}{space 3}   7654.2
{txt}{space 7}cid12 {c |}{col 14}{res}{space 2}-1104.069{col 26}{space 2} 753.6938{col 37}{space 1}   -1.46{col 46}{space 3}0.143{col 54}{space 4}-2581.281{col 67}{space 3} 373.1442
{txt}{space 7}cid13 {c |}{col 14}{res}{space 2} 4345.235{col 26}{space 2} 736.7852{col 37}{space 1}    5.90{col 46}{space 3}0.000{col 54}{space 4} 2901.163{col 67}{space 3} 5789.308
{txt}{space 7}cid14 {c |}{col 14}{res}{space 2}-2978.581{col 26}{space 2} 587.2633{col 37}{space 1}   -5.07{col 46}{space 3}0.000{col 54}{space 4}-4129.596{col 67}{space 3}-1827.566
{txt}{space 7}cid15 {c |}{col 14}{res}{space 2} 1495.642{col 26}{space 2} 461.9251{col 37}{space 1}    3.24{col 46}{space 3}0.001{col 54}{space 4} 590.2857{col 67}{space 3} 2400.999
{txt}{space 7}cid16 {c |}{col 14}{res}{space 2} 3117.914{col 26}{space 2} 794.1502{col 37}{space 1}    3.93{col 46}{space 3}0.000{col 54}{space 4} 1561.408{col 67}{space 3}  4674.42
{txt}{space 7}cid17 {c |}{col 14}{res}{space 2}-373.7871{col 26}{space 2} 619.0612{col 37}{space 1}   -0.60{col 46}{space 3}0.546{col 54}{space 4}-1587.125{col 67}{space 3} 839.5505
{txt}{space 7}cid18 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid19 {c |}{col 14}{res}{space 2}-1714.243{col 26}{space 2} 656.1527{col 37}{space 1}   -2.61{col 46}{space 3}0.009{col 54}{space 4}-3000.279{col 67}{space 3}-428.2075
{txt}{space 7}cid20 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid21 {c |}{col 14}{res}{space 2} 4108.807{col 26}{space 2} 602.1242{col 37}{space 1}    6.82{col 46}{space 3}0.000{col 54}{space 4} 2928.666{col 67}{space 3} 5288.949
{txt}{space 7}cid22 {c |}{col 14}{res}{space 2} 4592.557{col 26}{space 2} 649.6538{col 37}{space 1}    7.07{col 46}{space 3}0.000{col 54}{space 4} 3319.259{col 67}{space 3} 5865.855
{txt}{space 7}cid23 {c |}{col 14}{res}{space 2} 5124.836{col 26}{space 2} 627.1332{col 37}{space 1}    8.17{col 46}{space 3}0.000{col 54}{space 4} 3895.678{col 67}{space 3} 6353.995
{txt}{space 7}cid24 {c |}{col 14}{res}{space 2} 680.4503{col 26}{space 2} 530.7278{col 37}{space 1}    1.28{col 46}{space 3}0.200{col 54}{space 4} -359.757{col 67}{space 3} 1720.658
{txt}{space 7}cid25 {c |}{col 14}{res}{space 2} 3069.072{col 26}{space 2} 527.0001{col 37}{space 1}    5.82{col 46}{space 3}0.000{col 54}{space 4} 2036.171{col 67}{space 3} 4101.974
{txt}{space 7}cid26 {c |}{col 14}{res}{space 2} 14274.23{col 26}{space 2} 1473.607{col 37}{space 1}    9.69{col 46}{space 3}0.000{col 54}{space 4} 11386.01{col 67}{space 3} 17162.44
{txt}{space 7}cid27 {c |}{col 14}{res}{space 2} 653.9728{col 26}{space 2} 473.4424{col 37}{space 1}    1.38{col 46}{space 3}0.167{col 54}{space 4}-273.9573{col 67}{space 3} 1581.903
{txt}{space 8}year {c |}{col 14}{res}{space 2} 1.592409{col 26}{space 2}  .326783{col 37}{space 1}    4.87{col 46}{space 3}0.000{col 54}{space 4} .9519263{col 67}{space 3} 2.232892
{txt}{space 4}cidyear1 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 4}cidyear2 {c |}{col 14}{res}{space 2}-.8415693{col 26}{space 2} .1907553{col 37}{space 1}   -4.41{col 46}{space 3}0.000{col 54}{space 4}-1.215443{col 67}{space 3}-.4676957
{txt}{space 4}cidyear3 {c |}{col 14}{res}{space 2}-2.071802{col 26}{space 2} .2526565{col 37}{space 1}   -8.20{col 46}{space 3}0.000{col 54}{space 4}-2.566999{col 67}{space 3}-1.576604
{txt}{space 4}cidyear4 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 4}cidyear5 {c |}{col 14}{res}{space 2} 1.013923{col 26}{space 2} .5461184{col 37}{space 1}    1.86{col 46}{space 3}0.063{col 54}{space 4}-.0564496{col 67}{space 3} 2.084295
{txt}{space 4}cidyear6 {c |}{col 14}{res}{space 2}-1.166717{col 26}{space 2}  .226438{col 37}{space 1}   -5.15{col 46}{space 3}0.000{col 54}{space 4}-1.610527{col 67}{space 3}-.7229063
{txt}{space 4}cidyear7 {c |}{col 14}{res}{space 2}-.2780371{col 26}{space 2} .3778987{col 37}{space 1}   -0.74{col 46}{space 3}0.462{col 54}{space 4}-1.018705{col 67}{space 3} .4626308
{txt}{space 4}cidyear8 {c |}{col 14}{res}{space 2}-1.054801{col 26}{space 2} .2179401{col 37}{space 1}   -4.84{col 46}{space 3}0.000{col 54}{space 4}-1.481956{col 67}{space 3}-.6276462
{txt}{space 4}cidyear9 {c |}{col 14}{res}{space 2}-.9848133{col 26}{space 2} .2240876{col 37}{space 1}   -4.39{col 46}{space 3}0.000{col 54}{space 4}-1.424017{col 67}{space 3}-.5456097
{txt}{space 3}cidyear10 {c |}{col 14}{res}{space 2}-.7371267{col 26}{space 2} .2388657{col 37}{space 1}   -3.09{col 46}{space 3}0.002{col 54}{space 4}-1.205295{col 67}{space 3}-.2689585
{txt}{space 3}cidyear11 {c |}{col 14}{res}{space 2}-3.359422{col 26}{space 2}  .235029{col 37}{space 1}  -14.29{col 46}{space 3}0.000{col 54}{space 4} -3.82007{col 67}{space 3}-2.898774
{txt}{space 3}cidyear12 {c |}{col 14}{res}{space 2} .5274202{col 26}{space 2} .3756477{col 37}{space 1}    1.40{col 46}{space 3}0.160{col 54}{space 4}-.2088358{col 67}{space 3} 1.263676
{txt}{space 3}cidyear13 {c |}{col 14}{res}{space 2}-2.157006{col 26}{space 2} .3673644{col 37}{space 1}   -5.87{col 46}{space 3}0.000{col 54}{space 4}-2.877027{col 67}{space 3}-1.436985
{txt}{space 3}cidyear14 {c |}{col 14}{res}{space 2} 1.488261{col 26}{space 2} .2927291{col 37}{space 1}    5.08{col 46}{space 3}0.000{col 54}{space 4} .9145222{col 67}{space 3} 2.061999
{txt}{space 3}cidyear15 {c |}{col 14}{res}{space 2}-.7578143{col 26}{space 2} .2296957{col 37}{space 1}   -3.30{col 46}{space 3}0.001{col 54}{space 4}-1.208009{col 67}{space 3} -.307619
{txt}{space 3}cidyear16 {c |}{col 14}{res}{space 2}-1.543451{col 26}{space 2} .3958901{col 37}{space 1}   -3.90{col 46}{space 3}0.000{col 54}{space 4}-2.319381{col 67}{space 3}-.7675201
{txt}{space 3}cidyear17 {c |}{col 14}{res}{space 2} .1826097{col 26}{space 2} .3084703{col 37}{space 1}    0.59{col 46}{space 3}0.554{col 54}{space 4}-.4219811{col 67}{space 3} .7872005
{txt}{space 3}cidyear18 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 3}cidyear19 {c |}{col 14}{res}{space 2}  .857931{col 26}{space 2}  .326868{col 37}{space 1}    2.62{col 46}{space 3}0.009{col 54}{space 4} .2172816{col 67}{space 3}  1.49858
{txt}{space 3}cidyear20 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 3}cidyear21 {c |}{col 14}{res}{space 2}-2.060383{col 26}{space 2} .3008995{col 37}{space 1}   -6.85{col 46}{space 3}0.000{col 54}{space 4}-2.650135{col 67}{space 3} -1.47063
{txt}{space 3}cidyear22 {c |}{col 14}{res}{space 2}-2.294444{col 26}{space 2} .3238006{col 37}{space 1}   -7.09{col 46}{space 3}0.000{col 54}{space 4}-2.929081{col 67}{space 3}-1.659806
{txt}{space 3}cidyear23 {c |}{col 14}{res}{space 2}-2.557066{col 26}{space 2} .3121661{col 37}{space 1}   -8.19{col 46}{space 3}0.000{col 54}{space 4}  -3.1689{col 67}{space 3}-1.945232
{txt}{space 3}cidyear24 {c |}{col 14}{res}{space 2}-.3415245{col 26}{space 2} .2639295{col 37}{space 1}   -1.29{col 46}{space 3}0.196{col 54}{space 4}-.8588169{col 67}{space 3} .1757678
{txt}{space 3}cidyear25 {c |}{col 14}{res}{space 2}-1.531202{col 26}{space 2} .2619469{col 37}{space 1}   -5.85{col 46}{space 3}0.000{col 54}{space 4}-2.044608{col 67}{space 3}-1.017795
{txt}{space 3}cidyear26 {c |}{col 14}{res}{space 2}-7.072683{col 26}{space 2} .7325883{col 37}{space 1}   -9.65{col 46}{space 3}0.000{col 54}{space 4} -8.50853{col 67}{space 3}-5.636836
{txt}{space 3}cidyear27 {c |}{col 14}{res}{space 2} -.330017{col 26}{space 2} .2355935{col 37}{space 1}   -1.40{col 46}{space 3}0.161{col 54}{space 4}-.7917718{col 67}{space 3} .1317379
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} -2692.55{col 26}{space 2}  645.761{col 37}{space 1}   -4.17{col 46}{space 3}0.000{col 54}{space 4}-3958.219{col 67}{space 3}-1426.882
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
         rho {c |}  {res}  .583804
{txt}{hline 13}{c BT}{hline 64}

{com}. 
. 
. 
. /////// Finally, I used the different heterogeneous panel models
> xtmg phpnh prod pop14 pop65 male lex infmo, trend 


{txt}Pesaran & Smith (1995) Mean Group estimator

All coefficients present represent averages across groups ({res}cid{txt})
Coefficient averages computed as {res}unweighted{txt} means

Mean Group type estimation{col 49}Number of obs{col 67}={col 69}{res}       456
{txt}Group variable: {res}cid{col 49}{txt}Number of groups{col 67}={col 69}{res}        24

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}        11
{txt}{col 63}avg{col 67}={col 69}{res}      19.0
{txt}{col 63}max{col 67}={col 69}{res}        20

{txt}{col 49}Wald chi2({res}6{txt}){col 67}={col 70}{res}     7.88
{txt}{col 49}Prob > chi2{col 67}={res}{col 73}0.2468

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}       phpnh{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}prod {c |}{col 14}{res}{space 2}-.2854394{col 26}{space 2} .3505355{col 37}{space 1}   -0.81{col 46}{space 3}0.415{col 54}{space 4}-.9724764{col 67}{space 3} .4015976
{txt}{space 7}pop14 {c |}{col 14}{res}{space 2} .6494551{col 26}{space 2} 3.325249{col 37}{space 1}    0.20{col 46}{space 3}0.845{col 54}{space 4}-5.867912{col 67}{space 3} 7.166823
{txt}{space 7}pop65 {c |}{col 14}{res}{space 2}-1.264833{col 26}{space 2}  1.98154{col 37}{space 1}   -0.64{col 46}{space 3}0.523{col 54}{space 4} -5.14858{col 67}{space 3} 2.618915
{txt}{space 8}male {c |}{col 14}{res}{space 2}-24.12067{col 26}{space 2} 11.78579{col 37}{space 1}   -2.05{col 46}{space 3}0.041{col 54}{space 4} -47.2204{col 67}{space 3}-1.020939
{txt}{space 9}lex {c |}{col 14}{res}{space 2} 1.195472{col 26}{space 2} .7400862{col 37}{space 1}    1.62{col 46}{space 3}0.106{col 54}{space 4}-.2550702{col 67}{space 3} 2.646014
{txt}{space 7}infmo {c |}{col 14}{res}{space 2} .7763858{col 26}{space 2} .6394191{col 37}{space 1}    1.21{col 46}{space 3}0.225{col 54}{space 4}-.4768525{col 67}{space 3} 2.029624
{txt}{space 2}__000007_t {c |}{col 14}{res}{space 2} .8605041{col 26}{space 2} 1.146183{col 37}{space 1}    0.75{col 46}{space 3}0.453{col 54}{space 4}-1.385972{col 67}{space 3} 3.106981
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} 1186.774{col 26}{space 2} 575.6876{col 37}{space 1}    2.06{col 46}{space 3}0.039{col 54}{space 4} 58.44726{col 67}{space 3} 2315.101
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Root Mean Squared Error (sigma): {res}2.2157
{txt}Variable {res}__000007_t{txt} refers to a group-specific linear trend.
Share of group-specific trends significant at 5% level: {res}0.208 (= 5 trends)
{txt}
{com}. xtmg phpnh prod pop14 pop65 male lex infmo, cce trend 


{txt}Pesaran (2006) Common Correlated Effects Mean Group estimator

All coefficients present represent averages across groups ({res}cid{txt})
Coefficient averages computed as {res}unweighted{txt} means

Mean Group type estimation{col 49}Number of obs{col 67}={col 69}{res}       456
{txt}Group variable: {res}cid{col 49}{txt}Number of groups{col 67}={col 69}{res}        24

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}        11
{txt}{col 63}avg{col 67}={col 69}{res}      19.0
{txt}{col 63}max{col 67}={col 69}{res}        20

{txt}{col 49}Wald chi2({res}6{txt}){col 67}={col 70}{res}     5.94
{txt}{col 49}Prob > chi2{col 67}={res}{col 73}0.4305

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}         phpnh{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      z{col 48}   P>|z|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 10}prod {c |}{col 16}{res}{space 2}-.3051324{col 28}{space 2} .2718349{col 39}{space 1}   -1.12{col 48}{space 3}0.262{col 56}{space 4} -.837919{col 69}{space 3} .2276542
{txt}{space 9}pop14 {c |}{col 16}{res}{space 2} 4.912207{col 28}{space 2} 6.412153{col 39}{space 1}    0.77{col 48}{space 3}0.444{col 56}{space 4}-7.655382{col 69}{space 3}  17.4798
{txt}{space 9}pop65 {c |}{col 16}{res}{space 2}  3.89199{col 28}{space 2} 4.593268{col 39}{space 1}    0.85{col 48}{space 3}0.397{col 56}{space 4} -5.11065{col 69}{space 3} 12.89463
{txt}{space 10}male {c |}{col 16}{res}{space 2}-7.196442{col 28}{space 2}  13.6756{col 39}{space 1}   -0.53{col 48}{space 3}0.599{col 56}{space 4}-34.00012{col 69}{space 3} 19.60723
{txt}{space 11}lex {c |}{col 16}{res}{space 2}-.9190697{col 28}{space 2} 1.157286{col 39}{space 1}   -0.79{col 48}{space 3}0.427{col 56}{space 4}-3.187308{col 69}{space 3} 1.349169
{txt}{space 9}infmo {c |}{col 16}{res}{space 2} -1.86239{col 28}{space 2} 1.139928{col 39}{space 1}   -1.63{col 48}{space 3}0.102{col 56}{space 4}-4.096609{col 69}{space 3} .3718283
{txt}{space 4}__000007_t {c |}{col 16}{res}{space 2}   1.3833{col 28}{space 2} 1.707271{col 39}{space 1}    0.81{col 48}{space 3}0.418{col 56}{space 4}-1.962889{col 69}{space 3}  4.72949
{txt}__00000M_phpnh {c |}{col 16}{res}{space 2} 1.195627{col 28}{space 2}  .449148{col 39}{space 1}    2.66{col 48}{space 3}0.008{col 56}{space 4} .3153134{col 69}{space 3} 2.075941
{txt}{space 1}__00000L_prod {c |}{col 16}{res}{space 2} .6729607{col 28}{space 2}  .666012{col 39}{space 1}    1.01{col 48}{space 3}0.312{col 56}{space 4}-.6323989{col 69}{space 3}  1.97832
{txt}__00000L_pop14 {c |}{col 16}{res}{space 2}  1.28066{col 28}{space 2} 4.887846{col 39}{space 1}    0.26{col 48}{space 3}0.793{col 56}{space 4}-8.299341{col 69}{space 3} 10.86066
{txt}__00000L_pop65 {c |}{col 16}{res}{space 2}  -1.5276{col 28}{space 2}  5.35295{col 39}{space 1}   -0.29{col 48}{space 3}0.775{col 56}{space 4}-12.01919{col 69}{space 3} 8.963989
{txt}{space 1}__00000L_male {c |}{col 16}{res}{space 2} 16.28842{col 28}{space 2} 13.83358{col 39}{space 1}    1.18{col 48}{space 3}0.239{col 56}{space 4} -10.8249{col 69}{space 3} 43.40173
{txt}{space 2}__00000L_lex {c |}{col 16}{res}{space 2}-1.336621{col 28}{space 2} 1.865262{col 39}{space 1}   -0.72{col 48}{space 3}0.474{col 56}{space 4}-4.992467{col 69}{space 3} 2.319225
{txt}__00000L_infmo {c |}{col 16}{res}{space 2} 2.574223{col 28}{space 2} 2.863316{col 39}{space 1}    0.90{col 48}{space 3}0.369{col 56}{space 4}-3.037774{col 69}{space 3} 8.186219
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}-487.5037{col 28}{space 2} 923.6688{col 39}{space 1}   -0.53{col 48}{space 3}0.598{col 56}{space 4}-2297.861{col 69}{space 3} 1322.854
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Root Mean Squared Error (sigma): {res}0.8460
{txt}Cross-section averaged {res}regressors{txt} are marked by the suffix: 
{res}   _phpnh, _prod, _pop14, _pop65, _male, _lex, _infmo{txt} respectively.
Variable {res}__000007_t{txt} refers to a group-specific linear trend.
Share of group-specific trends significant at 5% level: {res}0.125 (= 3 trends)
{txt}Note that augmentation of the CCEMG estimator should account for the impact of
group-specific linear trends. The latter are unidentified.

{com}. xtmg phpnh prod pop14 pop65 male lex infmo, aug trend 


{txt}Augmented Mean Group estimator (Bond & Eberhardt, 2009; Eberhardt & Teal, 2010)

Common dynamic process {res}included{txt} as additional regressor
All coefficients present represent averages across groups ({res}cid{txt})
Coefficient averages computed as {res}unweighted{txt} means

Mean Group type estimation{col 49}Number of obs{col 67}={col 69}{res}       456
{txt}Group variable: {res}cid{col 49}{txt}Number of groups{col 67}={col 69}{res}        24

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}        11
{txt}{col 63}avg{col 67}={col 69}{res}      19.0
{txt}{col 63}max{col 67}={col 69}{res}        20

{txt}{col 49}Wald chi2({res}6{txt}){col 67}={col 70}{res}     4.81
{txt}{col 49}Prob > chi2{col 67}={res}{col 73}0.5688

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}       phpnh{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}prod {c |}{col 14}{res}{space 2}-.1625506{col 26}{space 2} .2655361{col 37}{space 1}   -0.61{col 46}{space 3}0.540{col 54}{space 4}-.6829919{col 67}{space 3} .3578907
{txt}{space 7}pop14 {c |}{col 14}{res}{space 2}-.7880905{col 26}{space 2} 4.231964{col 37}{space 1}   -0.19{col 46}{space 3}0.852{col 54}{space 4}-9.082587{col 67}{space 3} 7.506406
{txt}{space 7}pop65 {c |}{col 14}{res}{space 2} 2.305565{col 26}{space 2} 3.366516{col 37}{space 1}    0.68{col 46}{space 3}0.493{col 54}{space 4}-4.292686{col 67}{space 3} 8.903815
{txt}{space 8}male {c |}{col 14}{res}{space 2}-17.41787{col 26}{space 2} 12.00258{col 37}{space 1}   -1.45{col 46}{space 3}0.147{col 54}{space 4} -40.9425{col 67}{space 3} 6.106756
{txt}{space 9}lex {c |}{col 14}{res}{space 2} .8306902{col 26}{space 2} .6665376{col 37}{space 1}    1.25{col 46}{space 3}0.213{col 54}{space 4}-.4756995{col 67}{space 3}  2.13708
{txt}{space 7}infmo {c |}{col 14}{res}{space 2}-.1229708{col 26}{space 2} .6317848{col 37}{space 1}   -0.19{col 46}{space 3}0.846{col 54}{space 4}-1.361246{col 67}{space 3} 1.115305
{txt}{space 2}__00000R_c {c |}{col 14}{res}{space 2} .8976875{col 26}{space 2}  .383762{col 37}{space 1}    2.34{col 46}{space 3}0.019{col 54}{space 4} .1455279{col 67}{space 3} 1.649847
{txt}{space 2}__000007_t {c |}{col 14}{res}{space 2} .4136977{col 26}{space 2} 1.210043{col 37}{space 1}    0.34{col 46}{space 3}0.732{col 54}{space 4}-1.957943{col 67}{space 3} 2.785339
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}  858.929{col 26}{space 2} 571.6623{col 37}{space 1}    1.50{col 46}{space 3}0.133{col 54}{space 4}-261.5085{col 67}{space 3} 1979.367
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Root Mean Squared Error (sigma): {res}1.7081
{txt}Variable {res}__00000R_c{txt} refers to the common dynamic process.
Variable {res}__000007_t{txt} refers to a group-specific linear trend.
Share of group-specific trends significant at 5% level: {res}0.167 (= 4 trends)
{txt}
{com}. 
. 
. ////////////////////////////////////////////////////////////
> ///////////////////  PHPNH - Model (8) ///////////////////////
> ////////////////////////////////////////////////////////////
> 
. /////// First test for serial correlation
> xtserial phpnh prod pop14 pop65 male lex infmo tobaco alcohc cid1-cid27 year cidyear1-cidyear27

{txt}Wooldridge test for autocorrelation in panel data
H0: no first order autocorrelation
{col 5}F(  1,      16) = {res}    38.674
{txt}{col 12}Prob > F = {res}     0.0000
{txt}
{com}. 
. /////// Next test for cross-sectional correlation
> //xtreg phpnh prod pop14 pop65 male lex infmo tobaco alcohc cid1-cid27 year cidyear1-cidyear27, fe
. //xtcsd, pesaran
. // I couldn't run the Pesaran test. I received the following error message:
. //Error: The panel is highly unbalanced.
. //Not enough common observations across panel to perform Pesaran's test.
. //insufficient observations
. 
. //xtpcse phpnh prod pop14 pop65 male lex infmo tobaco alcohc cid1-cid27 year cidyear1-cidyear27, correlation(ar1)
. // I couldn't estimate the PCSE model because I obtained the following error message:
. //no time periods are common to all panels, cannot estimate disturbance
. //covariance matrix using casewise inclusion
. 
. 
. /////// Finally, I used the different heterogeneous panel models
> xtmg phpnh prod pop14 pop65 male lex infmo tobaco alcohc, trend 
{txt}{col 2}Note: {res}14{txt} obs. dropped (panels too small)


Pesaran & Smith (1995) Mean Group estimator

All coefficients present represent averages across groups ({res}cid{txt})
Coefficient averages computed as {res}unweighted{txt} means

Mean Group type estimation{col 49}Number of obs{col 67}={col 69}{res}       270
{txt}Group variable: {res}cid{col 49}{txt}Number of groups{col 67}={col 69}{res}        15

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}        11
{txt}{col 63}avg{col 67}={col 69}{res}      18.0
{txt}{col 63}max{col 67}={col 69}{res}        20

{txt}{col 49}Wald chi2({res}8{txt}){col 67}={col 70}{res}    13.79
{txt}{col 49}Prob > chi2{col 67}={res}{col 73}0.0873

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}       phpnh{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}prod {c |}{col 14}{res}{space 2}-.4927035{col 26}{space 2} .4472883{col 37}{space 1}   -1.10{col 46}{space 3}0.271{col 54}{space 4}-1.369372{col 67}{space 3} .3839655
{txt}{space 7}pop14 {c |}{col 14}{res}{space 2}-4.456559{col 26}{space 2} 6.683073{col 37}{space 1}   -0.67{col 46}{space 3}0.505{col 54}{space 4}-17.55514{col 67}{space 3} 8.642024
{txt}{space 7}pop65 {c |}{col 14}{res}{space 2}-1.021721{col 26}{space 2}  4.45393{col 37}{space 1}   -0.23{col 46}{space 3}0.819{col 54}{space 4}-9.751263{col 67}{space 3} 7.707821
{txt}{space 8}male {c |}{col 14}{res}{space 2}-14.95559{col 26}{space 2} 13.33525{col 37}{space 1}   -1.12{col 46}{space 3}0.262{col 54}{space 4}-41.09221{col 67}{space 3} 11.18102
{txt}{space 9}lex {c |}{col 14}{res}{space 2}  1.98436{col 26}{space 2} 1.144395{col 37}{space 1}    1.73{col 46}{space 3}0.083{col 54}{space 4}-.2586127{col 67}{space 3} 4.227332
{txt}{space 7}infmo {c |}{col 14}{res}{space 2}-.2380716{col 26}{space 2} .6682688{col 37}{space 1}   -0.36{col 46}{space 3}0.722{col 54}{space 4}-1.547854{col 67}{space 3} 1.071711
{txt}{space 6}tobaco {c |}{col 14}{res}{space 2}-.0073009{col 26}{space 2} .0044665{col 37}{space 1}   -1.63{col 46}{space 3}0.102{col 54}{space 4} -.016055{col 67}{space 3} .0014532
{txt}{space 6}alcohc {c |}{col 14}{res}{space 2}-.6704759{col 26}{space 2} 1.936101{col 37}{space 1}   -0.35{col 46}{space 3}0.729{col 54}{space 4}-4.465163{col 67}{space 3} 3.124211
{txt}{space 2}__000007_t {c |}{col 14}{res}{space 2}-.1397047{col 26}{space 2} 1.563852{col 37}{space 1}   -0.09{col 46}{space 3}0.929{col 54}{space 4}-3.204798{col 67}{space 3} 2.925389
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} 811.6768{col 26}{space 2} 676.7609{col 37}{space 1}    1.20{col 46}{space 3}0.230{col 54}{space 4}-514.7501{col 67}{space 3} 2138.104
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Root Mean Squared Error (sigma): {res}2.1709
{txt}Variable {res}__000007_t{txt} refers to a group-specific linear trend.
Share of group-specific trends significant at 5% level: {res}0.200 (= 3 trends)
{txt}
{com}. xtmg phpnh prod pop14 pop65 male lex infmo tobaco alcohc, cce trend 
{txt}{col 2}Note: {res}14{txt} obs. dropped (panels too small)


Pesaran (2006) Common Correlated Effects Mean Group estimator

All coefficients present represent averages across groups ({res}cid{txt})
Coefficient averages computed as {res}unweighted{txt} means

Mean Group type estimation{col 49}Number of obs{col 67}={col 69}{res}       270
{txt}Group variable: {res}cid{col 49}{txt}Number of groups{col 67}={col 69}{res}        15

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}        11
{txt}{col 63}avg{col 67}={col 69}{res}      18.0
{txt}{col 63}max{col 67}={col 69}{res}        20

{txt}{col 49}Wald chi2({res}8{txt}){col 67}={col 70}{res}    14.31
{txt}{col 49}Prob > chi2{col 67}={res}{col 73}0.0740

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}          phpnh{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 11}prod {c |}{col 17}{res}{space 2} 4.151938{col 29}{space 2} 2.615662{col 40}{space 1}    1.59{col 49}{space 3}0.112{col 57}{space 4}-.9746666{col 70}{space 3} 9.278542
{txt}{space 10}pop14 {c |}{col 17}{res}{space 2}  48.7037{col 29}{space 2} 42.93625{col 40}{space 1}    1.13{col 49}{space 3}0.257{col 57}{space 4}-35.44979{col 70}{space 3} 132.8572
{txt}{space 10}pop65 {c |}{col 17}{res}{space 2}-12.00065{col 29}{space 2}  32.2716{col 40}{space 1}   -0.37{col 49}{space 3}0.710{col 57}{space 4}-75.25181{col 70}{space 3} 51.25052
{txt}{space 11}male {c |}{col 17}{res}{space 2} 7.915375{col 29}{space 2} 80.89297{col 40}{space 1}    0.10{col 49}{space 3}0.922{col 57}{space 4}-150.6319{col 70}{space 3} 166.4627
{txt}{space 12}lex {c |}{col 17}{res}{space 2} .7850746{col 29}{space 2} 6.292689{col 40}{space 1}    0.12{col 49}{space 3}0.901{col 57}{space 4}-11.54837{col 70}{space 3} 13.11852
{txt}{space 10}infmo {c |}{col 17}{res}{space 2}-8.578307{col 29}{space 2} 10.89249{col 40}{space 1}   -0.79{col 49}{space 3}0.431{col 57}{space 4}-29.92719{col 70}{space 3} 12.77057
{txt}{space 9}tobaco {c |}{col 17}{res}{space 2}-.0294378{col 29}{space 2} .0267837{col 40}{space 1}   -1.10{col 49}{space 3}0.272{col 57}{space 4}-.0819329{col 70}{space 3} .0230573
{txt}{space 9}alcohc {c |}{col 17}{res}{space 2}  1.77638{col 29}{space 2} 4.444589{col 40}{space 1}    0.40{col 49}{space 3}0.689{col 57}{space 4}-6.934854{col 70}{space 3} 10.48761
{txt}{space 5}__000007_t {c |}{col 17}{res}{space 2} 4.242418{col 29}{space 2}  14.7285{col 40}{space 1}    0.29{col 49}{space 3}0.773{col 57}{space 4}-24.62491{col 70}{space 3} 33.10975
{txt}{space 1}__00000M_phpnh {c |}{col 17}{res}{space 2}-.5988811{col 29}{space 2} 1.404595{col 40}{space 1}   -0.43{col 49}{space 3}0.670{col 57}{space 4}-3.351837{col 70}{space 3} 2.154074
{txt}{space 2}__00000L_prod {c |}{col 17}{res}{space 2}-.0230772{col 29}{space 2} 2.162452{col 40}{space 1}   -0.01{col 49}{space 3}0.991{col 57}{space 4}-4.261405{col 70}{space 3} 4.215251
{txt}{space 1}__00000L_pop14 {c |}{col 17}{res}{space 2} 1.333853{col 29}{space 2} 38.20509{col 40}{space 1}    0.03{col 49}{space 3}0.972{col 57}{space 4}-73.54676{col 70}{space 3} 76.21446
{txt}{space 1}__00000L_pop65 {c |}{col 17}{res}{space 2}-25.79584{col 29}{space 2} 42.10687{col 40}{space 1}   -0.61{col 49}{space 3}0.540{col 57}{space 4}-108.3238{col 70}{space 3} 56.73211
{txt}{space 2}__00000L_male {c |}{col 17}{res}{space 2}-212.4159{col 29}{space 2}  173.327{col 40}{space 1}   -1.23{col 49}{space 3}0.220{col 57}{space 4}-552.1306{col 70}{space 3} 127.2988
{txt}{space 3}__00000L_lex {c |}{col 17}{res}{space 2} 5.492766{col 29}{space 2} 14.26272{col 40}{space 1}    0.39{col 49}{space 3}0.700{col 57}{space 4}-22.46166{col 70}{space 3} 33.44719
{txt}{space 1}__00000L_infmo {c |}{col 17}{res}{space 2}-21.84339{col 29}{space 2} 18.16709{col 40}{space 1}   -1.20{col 49}{space 3}0.229{col 57}{space 4}-57.45022{col 70}{space 3} 13.76345
{txt}__00000L_tobaco {c |}{col 17}{res}{space 2}-.0393676{col 29}{space 2} .0411813{col 40}{space 1}   -0.96{col 49}{space 3}0.339{col 57}{space 4}-.1200815{col 70}{space 3} .0413462
{txt}__00000L_alcohc {c |}{col 17}{res}{space 2} 1.969136{col 29}{space 2} 14.07762{col 40}{space 1}    0.14{col 49}{space 3}0.889{col 57}{space 4} -25.6225{col 70}{space 3} 29.56077
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} 9450.864{col 29}{space 2} 7277.536{col 40}{space 1}    1.30{col 49}{space 3}0.194{col 57}{space 4}-4812.845{col 70}{space 3} 23714.57
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Root Mean Squared Error (sigma): {res}0.2627
{txt}Cross-section averaged {res}regressors{txt} are marked by the suffix: 
{res}   _phpnh, _prod, _pop14, _pop65, _male, _lex, _infmo, _tobaco, _alcohc{txt} respectively.
Variable {res}__000007_t{txt} refers to a group-specific linear trend.
Share of group-specific trends significant at 5% level: {res}0.067 (= 1 trends)
{txt}Note that augmentation of the CCEMG estimator should account for the impact of
group-specific linear trends. The latter are unidentified.

{com}. xtmg phpnh prod pop14 pop65 male lex infmo tobaco alcohc, aug trend 
{txt}{col 2}Note: {res}25{txt} obs. dropped (panels too small)


Augmented Mean Group estimator (Bond & Eberhardt, 2009; Eberhardt & Teal, 2010)

Common dynamic process {res}included{txt} as additional regressor
All coefficients present represent averages across groups ({res}cid{txt})
Coefficient averages computed as {res}unweighted{txt} means

Mean Group type estimation{col 49}Number of obs{col 67}={col 69}{res}       259
{txt}Group variable: {res}cid{col 49}{txt}Number of groups{col 67}={col 69}{res}        14

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}        13
{txt}{col 63}avg{col 67}={col 69}{res}      18.5
{txt}{col 63}max{col 67}={col 69}{res}        20

{txt}{col 49}Wald chi2({res}8{txt}){col 67}={col 70}{res}    22.69
{txt}{col 49}Prob > chi2{col 67}={res}{col 73}0.0038

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}       phpnh{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}prod {c |}{col 14}{res}{space 2}-.2217935{col 26}{space 2} .2428609{col 37}{space 1}   -0.91{col 46}{space 3}0.361{col 54}{space 4}-.6977922{col 67}{space 3} .2542051
{txt}{space 7}pop14 {c |}{col 14}{res}{space 2} 4.826877{col 26}{space 2} 8.204677{col 37}{space 1}    0.59{col 46}{space 3}0.556{col 54}{space 4}-11.25399{col 67}{space 3} 20.90775
{txt}{space 7}pop65 {c |}{col 14}{res}{space 2}  6.01627{col 26}{space 2} 7.522302{col 37}{space 1}    0.80{col 46}{space 3}0.424{col 54}{space 4}-8.727171{col 67}{space 3} 20.75971
{txt}{space 8}male {c |}{col 14}{res}{space 2}-11.40738{col 26}{space 2} 17.01075{col 37}{space 1}   -0.67{col 46}{space 3}0.502{col 54}{space 4}-44.74783{col 67}{space 3} 21.93307
{txt}{space 9}lex {c |}{col 14}{res}{space 2} 2.008144{col 26}{space 2} 1.175115{col 37}{space 1}    1.71{col 46}{space 3}0.087{col 54}{space 4}-.2950386{col 67}{space 3} 4.311326
{txt}{space 7}infmo {c |}{col 14}{res}{space 2}-1.598456{col 26}{space 2} 1.190048{col 37}{space 1}   -1.34{col 46}{space 3}0.179{col 54}{space 4}-3.930908{col 67}{space 3} .7339964
{txt}{space 6}tobaco {c |}{col 14}{res}{space 2}-.0053459{col 26}{space 2} .0034603{col 37}{space 1}   -1.54{col 46}{space 3}0.122{col 54}{space 4} -.012128{col 67}{space 3} .0014362
{txt}{space 6}alcohc {c |}{col 14}{res}{space 2} -3.03867{col 26}{space 2} 1.657659{col 37}{space 1}   -1.83{col 46}{space 3}0.067{col 54}{space 4}-6.287621{col 67}{space 3}  .210282
{txt}{space 2}__00000R_c {c |}{col 14}{res}{space 2} 1.045666{col 26}{space 2} .4849565{col 37}{space 1}    2.16{col 46}{space 3}0.031{col 54}{space 4}  .095169{col 67}{space 3} 1.996163
{txt}{space 2}__000007_t {c |}{col 14}{res}{space 2}  .522908{col 26}{space 2} 2.089299{col 37}{space 1}    0.25{col 46}{space 3}0.802{col 54}{space 4}-3.572042{col 67}{space 3} 4.617858
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} 372.1665{col 26}{space 2} 807.4278{col 37}{space 1}    0.46{col 46}{space 3}0.645{col 54}{space 4}-1210.363{col 67}{space 3} 1954.696
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Root Mean Squared Error (sigma): {res}1.4535
{txt}Variable {res}__00000R_c{txt} refers to the common dynamic process.
Variable {res}__000007_t{txt} refers to a group-specific linear trend.
Share of group-specific trends significant at 5% level: {res}0.214 (= 3 trends)
{txt}
{com}. 
. 
. ////////////////////////////////////////////////////////////
> ///////////////////  PHPNH - Model (9) ///////////////////////
> ////////////////////////////////////////////////////////////
> 
. /////// First test for serial correlation
> xtserial phpnh prod pop14 pop65 male lex infmo tobaco alcohc gdpg cid1-cid27 year cidyear1-cidyear27

{txt}Wooldridge test for autocorrelation in panel data
H0: no first order autocorrelation
{col 5}F(  1,      16) = {res}    31.502
{txt}{col 12}Prob > F = {res}     0.0000
{txt}
{com}. 
. /////// Next test for cross-sectional correlation
> /////// I use the Pesaran test because it can be used with unbalanced data
> //xtreg phpnh prod pop14 pop65 male lex infmo tobaco alcohc gdpg cid1-cid27 year cidyear1-cidyear27, fe
. //xtcsd, pesaran
. // I couldn't run the Pesaran test. I received the following error message:
. //Error: The panel is highly unbalanced.
. //Not enough common observations across panel to perform Pesaran's test.
. //insufficient observations
. 
. /////// Next I estimate the model using PCSE
> //xtpcse phpnh prod pop14 pop65 male lex infmo tobaco alcohc gdpg cid1-cid27 year cidyear1-cidyear27, correlation(ar1)
. // I couldn't estimate the PCSE model because I obtained the following error message:
. //no time periods are common to all panels, cannot estimate disturbance
. //covariance matrix using casewise inclusion
. 
. /////// Finally, I used the different heterogeneous panel models
> xtmg phpnh prod pop14 pop65 male lex infmo tobaco alcohc gdpg, trend 
{txt}{col 2}Note: {res}25{txt} obs. dropped (panels too small)


Pesaran & Smith (1995) Mean Group estimator

All coefficients present represent averages across groups ({res}cid{txt})
Coefficient averages computed as {res}unweighted{txt} means

Mean Group type estimation{col 49}Number of obs{col 67}={col 69}{res}       259
{txt}Group variable: {res}cid{col 49}{txt}Number of groups{col 67}={col 69}{res}        14

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}        13
{txt}{col 63}avg{col 67}={col 69}{res}      18.5
{txt}{col 63}max{col 67}={col 69}{res}        20

{txt}{col 49}Wald chi2({res}9{txt}){col 67}={col 70}{res}    12.67
{txt}{col 49}Prob > chi2{col 67}={res}{col 73}0.1779

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}       phpnh{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}prod {c |}{col 14}{res}{space 2} .4151673{col 26}{space 2}  .783028{col 37}{space 1}    0.53{col 46}{space 3}0.596{col 54}{space 4}-1.119539{col 67}{space 3} 1.949874
{txt}{space 7}pop14 {c |}{col 14}{res}{space 2}-2.080534{col 26}{space 2} 7.020724{col 37}{space 1}   -0.30{col 46}{space 3}0.767{col 54}{space 4} -15.8409{col 67}{space 3} 11.67983
{txt}{space 7}pop65 {c |}{col 14}{res}{space 2}-.5068911{col 26}{space 2} 5.643515{col 37}{space 1}   -0.09{col 46}{space 3}0.928{col 54}{space 4}-11.56798{col 67}{space 3}  10.5542
{txt}{space 8}male {c |}{col 14}{res}{space 2}-33.49301{col 26}{space 2} 26.34408{col 37}{space 1}   -1.27{col 46}{space 3}0.204{col 54}{space 4}-85.12645{col 67}{space 3} 18.14043
{txt}{space 9}lex {c |}{col 14}{res}{space 2} 1.961795{col 26}{space 2} 1.346829{col 37}{space 1}    1.46{col 46}{space 3}0.145{col 54}{space 4}-.6779422{col 67}{space 3} 4.601532
{txt}{space 7}infmo {c |}{col 14}{res}{space 2}-.3862636{col 26}{space 2} .9761579{col 37}{space 1}   -0.40{col 46}{space 3}0.692{col 54}{space 4}-2.299498{col 67}{space 3} 1.526971
{txt}{space 6}tobaco {c |}{col 14}{res}{space 2} .0012368{col 26}{space 2} .0057227{col 37}{space 1}    0.22{col 46}{space 3}0.829{col 54}{space 4}-.0099795{col 67}{space 3} .0124532
{txt}{space 6}alcohc {c |}{col 14}{res}{space 2}-2.255007{col 26}{space 2} 1.985039{col 37}{space 1}   -1.14{col 46}{space 3}0.256{col 54}{space 4}-6.145612{col 67}{space 3} 1.635599
{txt}{space 8}gdpg {c |}{col 14}{res}{space 2}-.1081944{col 26}{space 2}  .140261{col 37}{space 1}   -0.77{col 46}{space 3}0.440{col 54}{space 4}-.3831009{col 67}{space 3} .1667121
{txt}{space 2}__000007_t {c |}{col 14}{res}{space 2}-.7345381{col 26}{space 2} 1.780597{col 37}{space 1}   -0.41{col 46}{space 3}0.680{col 54}{space 4}-4.224445{col 67}{space 3} 2.755369
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}  1638.16{col 26}{space 2} 1219.831{col 37}{space 1}    1.34{col 46}{space 3}0.179{col 54}{space 4}-752.6645{col 67}{space 3} 4028.984
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Root Mean Squared Error (sigma): {res}2.1316
{txt}Variable {res}__000007_t{txt} refers to a group-specific linear trend.
Share of group-specific trends significant at 5% level: {res}0.071 (= 1 trends)
{txt}
{com}. xtmg phpnh prod pop14 pop65 male lex infmo tobaco alcohc gdpg, cce trend 
{txt}{col 2}Note: {res}25{txt} obs. dropped (panels too small)


Pesaran (2006) Common Correlated Effects Mean Group estimator

All coefficients present represent averages across groups ({res}cid{txt})
Coefficient averages computed as {res}unweighted{txt} means

Mean Group type estimation{col 49}Number of obs{col 67}={col 69}{res}       259
{txt}Group variable: {res}cid{col 49}{txt}Number of groups{col 67}={col 69}{res}        14

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}        13
{txt}{col 63}avg{col 67}={col 69}{res}      18.5
{txt}{col 63}max{col 67}={col 69}{res}        20

{txt}{col 49}Wald chi2({res}9{txt}){col 67}={col 70}{res}    40.82
{txt}{col 49}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}          phpnh{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 11}prod {c |}{col 17}{res}{space 2}-1.380179{col 29}{space 2} 1.320933{col 40}{space 1}   -1.04{col 49}{space 3}0.296{col 57}{space 4}-3.969159{col 70}{space 3} 1.208802
{txt}{space 10}pop14 {c |}{col 17}{res}{space 2} 13.68836{col 29}{space 2} 33.38164{col 40}{space 1}    0.41{col 49}{space 3}0.682{col 57}{space 4}-51.73845{col 70}{space 3} 79.11517
{txt}{space 10}pop65 {c |}{col 17}{res}{space 2}-2.985837{col 29}{space 2} 16.24571{col 40}{space 1}   -0.18{col 49}{space 3}0.854{col 57}{space 4}-34.82684{col 70}{space 3} 28.85517
{txt}{space 11}male {c |}{col 17}{res}{space 2}-20.22134{col 29}{space 2} 19.50076{col 40}{space 1}   -1.04{col 49}{space 3}0.300{col 57}{space 4}-58.44212{col 70}{space 3} 17.99944
{txt}{space 12}lex {c |}{col 17}{res}{space 2} 3.096628{col 29}{space 2} 3.194446{col 40}{space 1}    0.97{col 49}{space 3}0.332{col 57}{space 4}-3.164371{col 70}{space 3} 9.357627
{txt}{space 10}infmo {c |}{col 17}{res}{space 2} -12.0096{col 29}{space 2} 8.595898{col 40}{space 1}   -1.40{col 49}{space 3}0.162{col 57}{space 4}-28.85725{col 70}{space 3} 4.838055
{txt}{space 9}tobaco {c |}{col 17}{res}{space 2}-.0200517{col 29}{space 2} .0255944{col 40}{space 1}   -0.78{col 49}{space 3}0.433{col 57}{space 4}-.0702158{col 70}{space 3} .0301125
{txt}{space 9}alcohc {c |}{col 17}{res}{space 2} 1.934224{col 29}{space 2} 5.426006{col 40}{space 1}    0.36{col 49}{space 3}0.721{col 57}{space 4}-8.700554{col 70}{space 3}   12.569
{txt}{space 11}gdpg {c |}{col 17}{res}{space 2}-.1252498{col 29}{space 2} .6328124{col 40}{space 1}   -0.20{col 49}{space 3}0.843{col 57}{space 4}-1.365539{col 70}{space 3}  1.11504
{txt}{space 5}__000007_t {c |}{col 17}{res}{space 2}-12.42019{col 29}{space 2} 16.12627{col 40}{space 1}   -0.77{col 49}{space 3}0.441{col 57}{space 4} -44.0271{col 70}{space 3} 19.18671
{txt}{space 1}__00000M_phpnh {c |}{col 17}{res}{space 2}  .438788{col 29}{space 2} 1.057699{col 40}{space 1}    0.41{col 49}{space 3}0.678{col 57}{space 4}-1.634265{col 70}{space 3} 2.511841
{txt}{space 2}__00000L_prod {c |}{col 17}{res}{space 2} 3.777707{col 29}{space 2}  2.36366{col 40}{space 1}    1.60{col 49}{space 3}0.110{col 57}{space 4}-.8549816{col 70}{space 3} 8.410396
{txt}{space 1}__00000L_pop14 {c |}{col 17}{res}{space 2}-13.08969{col 29}{space 2} 7.283467{col 40}{space 1}   -1.80{col 49}{space 3}0.072{col 57}{space 4}-27.36503{col 70}{space 3} 1.185642
{txt}{space 1}__00000L_pop65 {c |}{col 17}{res}{space 2} .6958934{col 29}{space 2} 7.435144{col 40}{space 1}    0.09{col 49}{space 3}0.925{col 57}{space 4}-13.87672{col 70}{space 3} 15.26851
{txt}{space 2}__00000L_male {c |}{col 17}{res}{space 2}-17.90003{col 29}{space 2} 34.82184{col 40}{space 1}   -0.51{col 49}{space 3}0.607{col 57}{space 4}-86.14958{col 70}{space 3} 50.34952
{txt}{space 3}__00000L_lex {c |}{col 17}{res}{space 2}-.3625895{col 29}{space 2} 9.465722{col 40}{space 1}   -0.04{col 49}{space 3}0.969{col 57}{space 4}-18.91506{col 70}{space 3} 18.18988
{txt}{space 1}__00000L_infmo {c |}{col 17}{res}{space 2} .2987537{col 29}{space 2}  9.45901{col 40}{space 1}    0.03{col 49}{space 3}0.975{col 57}{space 4}-18.24056{col 70}{space 3} 18.83807
{txt}__00000L_tobaco {c |}{col 17}{res}{space 2} .0084107{col 29}{space 2} .0146358{col 40}{space 1}    0.57{col 49}{space 3}0.566{col 57}{space 4} -.020275{col 70}{space 3} .0370964
{txt}__00000L_alcohc {c |}{col 17}{res}{space 2}-17.12087{col 29}{space 2} 11.71036{col 40}{space 1}   -1.46{col 49}{space 3}0.144{col 57}{space 4}-40.07276{col 70}{space 3}  5.83102
{txt}{space 2}__00000L_gdpg {c |}{col 17}{res}{space 2}-1.125139{col 29}{space 2} .9589429{col 40}{space 1}   -1.17{col 49}{space 3}0.241{col 57}{space 4}-3.004633{col 70}{space 3} .7543544
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} 2368.885{col 29}{space 2} 2306.769{col 40}{space 1}    1.03{col 49}{space 3}0.304{col 57}{space 4}  -2152.3{col 70}{space 3}  6890.07
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Root Mean Squared Error (sigma): {res}0.0000
{txt}Cross-section averaged {res}regressors{txt} are marked by the suffix: 
{res}   _phpnh, _prod, _pop14, _pop65, _male, _lex, _infmo, _tobaco, _alcohc, _gdpg{txt} respectively.
Variable {res}__000007_t{txt} refers to a group-specific linear trend.
Share of group-specific trends significant at 5% level: {res}0.000 (= 0 trends)
{txt}Note that augmentation of the CCEMG estimator should account for the impact of
group-specific linear trends. The latter are unidentified.

{com}. xtmg phpnh prod pop14 pop65 male lex infmo tobaco alcohc gdpg, aug trend 
{txt}{col 2}Note: {res}25{txt} obs. dropped (panels too small)


Augmented Mean Group estimator (Bond & Eberhardt, 2009; Eberhardt & Teal, 2010)

Common dynamic process {res}included{txt} as additional regressor
All coefficients present represent averages across groups ({res}cid{txt})
Coefficient averages computed as {res}unweighted{txt} means

Mean Group type estimation{col 49}Number of obs{col 67}={col 69}{res}       259
{txt}Group variable: {res}cid{col 49}{txt}Number of groups{col 67}={col 69}{res}        14

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}        13
{txt}{col 63}avg{col 67}={col 69}{res}      18.5
{txt}{col 63}max{col 67}={col 69}{res}        20

{txt}{col 49}Wald chi2({res}9{txt}){col 67}={col 70}{res}    18.49
{txt}{col 49}Prob > chi2{col 67}={res}{col 73}0.0299

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}       phpnh{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}prod {c |}{col 14}{res}{space 2}-.1509345{col 26}{space 2} .3475034{col 37}{space 1}   -0.43{col 46}{space 3}0.664{col 54}{space 4}-.8320287{col 67}{space 3} .5301598
{txt}{space 7}pop14 {c |}{col 14}{res}{space 2} 7.113853{col 26}{space 2} 9.214191{col 37}{space 1}    0.77{col 46}{space 3}0.440{col 54}{space 4}-10.94563{col 67}{space 3} 25.17334
{txt}{space 7}pop65 {c |}{col 14}{res}{space 2} 4.133271{col 26}{space 2} 7.695946{col 37}{space 1}    0.54{col 46}{space 3}0.591{col 54}{space 4}-10.95051{col 67}{space 3} 19.21705
{txt}{space 8}male {c |}{col 14}{res}{space 2}-8.018804{col 26}{space 2} 15.83239{col 37}{space 1}   -0.51{col 46}{space 3}0.613{col 54}{space 4}-39.04971{col 67}{space 3} 23.01211
{txt}{space 9}lex {c |}{col 14}{res}{space 2} 2.765872{col 26}{space 2} 1.141876{col 37}{space 1}    2.42{col 46}{space 3}0.015{col 54}{space 4}  .527837{col 67}{space 3} 5.003908
{txt}{space 7}infmo {c |}{col 14}{res}{space 2}-3.396224{col 26}{space 2} 1.904157{col 37}{space 1}   -1.78{col 46}{space 3}0.074{col 54}{space 4}-7.128302{col 67}{space 3} .3358548
{txt}{space 6}tobaco {c |}{col 14}{res}{space 2}-.0074706{col 26}{space 2} .0052419{col 37}{space 1}   -1.43{col 46}{space 3}0.154{col 54}{space 4}-.0177445{col 67}{space 3} .0028033
{txt}{space 6}alcohc {c |}{col 14}{res}{space 2} -3.72749{col 26}{space 2} 1.665643{col 37}{space 1}   -2.24{col 46}{space 3}0.025{col 54}{space 4} -6.99209{col 67}{space 3}-.4628904
{txt}{space 8}gdpg {c |}{col 14}{res}{space 2}-.1170835{col 26}{space 2} .0809967{col 37}{space 1}   -1.45{col 46}{space 3}0.148{col 54}{space 4} -.275834{col 67}{space 3} .0416671
{txt}{space 2}__00000R_c {c |}{col 14}{res}{space 2} .8975878{col 26}{space 2} .5210657{col 37}{space 1}    1.72{col 46}{space 3}0.085{col 54}{space 4}-.1236821{col 67}{space 3} 1.918858
{txt}{space 2}__000007_t {c |}{col 14}{res}{space 2}  .945544{col 26}{space 2} 2.305442{col 37}{space 1}    0.41{col 46}{space 3}0.682{col 54}{space 4}-3.573038{col 67}{space 3} 5.464126
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} 135.4357{col 26}{space 2} 726.2705{col 37}{space 1}    0.19{col 46}{space 3}0.852{col 54}{space 4}-1288.028{col 67}{space 3}   1558.9
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Root Mean Squared Error (sigma): {res}1.3446
{txt}Variable {res}__00000R_c{txt} refers to the common dynamic process.
Variable {res}__000007_t{txt} refers to a group-specific linear trend.
Share of group-specific trends significant at 5% level: {res}0.071 (= 1 trends)
{txt}
{com}. 
. 
. 
. 
. 
. ////////////////////////////////////////////////////////////
> ///////////////////  PHPNH + k - Model (7) ///////////////////////
> ////////////////////////////////////////////////////////////
> 
. 
. /////// Next I estimate the model using PCSE
> xtpcse phpnh prod k pop14 pop65 male lex infmo cid1-cid27 year cidyear1-cidyear27, correlation(ar1)
{txt}note: cid1 omitted because of collinearity
note: cid4 omitted because of collinearity
note: cid18 omitted because of collinearity
note: cid20 omitted because of collinearity
note: cidyear1 omitted because of collinearity
note: cidyear4 omitted because of collinearity
note: cidyear18 omitted because of collinearity
note: cidyear20 omitted because of collinearity
{res}
{txt}Prais-Winsten regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}cid{col 49}{txt}Number of obs{col 67}= {res}       456
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        24
{txt}Panels:{col 19}{res}correlated (unbalanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}common AR(1){col 63}{txt}min{col 67}= {res}        11
{txt}Sigma computed by {col 19}{res}casewise selection{txt}{col 63}avg{col 67}= {res}        19
{txt}{col 63}max{col 67}= {res}        20
{txt}Estimated covariances{col 28}= {res}      300{col 49}{txt}R-squared{col 67}= {res}    0.8838
{txt}Estimated autocorrelations{col 28}= {res}        1{col 49}{txt}Wald chi2({res}36{txt}){col 67}= {res}  1.75e+10
{txt}Estimated coefficients{col 28}= {res}       55{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}Panel-corrected
{col 1}       phpnh{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}prod {c |}{col 14}{res}{space 2}-.4979117{col 26}{space 2}  .096388{col 37}{space 1}   -5.17{col 46}{space 3}0.000{col 54}{space 4}-.6868287{col 67}{space 3}-.3089948
{txt}{space 11}k {c |}{col 14}{res}{space 2}-.0212627{col 26}{space 2} .2035667{col 37}{space 1}   -0.10{col 46}{space 3}0.917{col 54}{space 4}-.4202461{col 67}{space 3} .3777208
{txt}{space 7}pop14 {c |}{col 14}{res}{space 2}-3.405689{col 26}{space 2} .4978848{col 37}{space 1}   -6.84{col 46}{space 3}0.000{col 54}{space 4}-4.381525{col 67}{space 3}-2.429853
{txt}{space 7}pop65 {c |}{col 14}{res}{space 2}  .379785{col 26}{space 2} .4820169{col 37}{space 1}    0.79{col 46}{space 3}0.431{col 54}{space 4}-.5649508{col 67}{space 3} 1.324521
{txt}{space 8}male {c |}{col 14}{res}{space 2}-5.816675{col 26}{space 2} 1.823192{col 37}{space 1}   -3.19{col 46}{space 3}0.001{col 54}{space 4}-9.390065{col 67}{space 3}-2.243285
{txt}{space 9}lex {c |}{col 14}{res}{space 2}-.4198049{col 26}{space 2} .6644526{col 37}{space 1}   -0.63{col 46}{space 3}0.528{col 54}{space 4}-1.722108{col 67}{space 3} .8824983
{txt}{space 7}infmo {c |}{col 14}{res}{space 2} -.928483{col 26}{space 2}  .384428{col 37}{space 1}   -2.42{col 46}{space 3}0.016{col 54}{space 4}-1.681948{col 67}{space 3}-.1750179
{txt}{space 8}cid1 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid2 {c |}{col 14}{res}{space 2} 1668.486{col 26}{space 2} 386.1846{col 37}{space 1}    4.32{col 46}{space 3}0.000{col 54}{space 4} 911.5779{col 67}{space 3} 2425.394
{txt}{space 8}cid3 {c |}{col 14}{res}{space 2} 4163.698{col 26}{space 2} 506.6195{col 37}{space 1}    8.22{col 46}{space 3}0.000{col 54}{space 4} 3170.742{col 67}{space 3} 5156.654
{txt}{space 8}cid4 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 8}cid5 {c |}{col 14}{res}{space 2} -2084.73{col 26}{space 2} 1106.514{col 37}{space 1}   -1.88{col 46}{space 3}0.060{col 54}{space 4}-4253.457{col 67}{space 3} 83.99802
{txt}{space 8}cid6 {c |}{col 14}{res}{space 2} 2339.775{col 26}{space 2}  455.875{col 37}{space 1}    5.13{col 46}{space 3}0.000{col 54}{space 4} 1446.277{col 67}{space 3} 3233.274
{txt}{space 8}cid7 {c |}{col 14}{res}{space 2} 500.8766{col 26}{space 2} 755.0959{col 37}{space 1}    0.66{col 46}{space 3}0.507{col 54}{space 4}-979.0841{col 67}{space 3} 1980.837
{txt}{space 8}cid8 {c |}{col 14}{res}{space 2} 2099.315{col 26}{space 2}   444.46{col 37}{space 1}    4.72{col 46}{space 3}0.000{col 54}{space 4} 1228.189{col 67}{space 3}  2970.44
{txt}{space 8}cid9 {c |}{col 14}{res}{space 2} 1970.228{col 26}{space 2} 451.9657{col 37}{space 1}    4.36{col 46}{space 3}0.000{col 54}{space 4} 1084.392{col 67}{space 3} 2856.065
{txt}{space 7}cid10 {c |}{col 14}{res}{space 2} 1457.938{col 26}{space 2} 484.9932{col 37}{space 1}    3.01{col 46}{space 3}0.003{col 54}{space 4} 507.3693{col 67}{space 3} 2408.508
{txt}{space 7}cid11 {c |}{col 14}{res}{space 2} 6714.666{col 26}{space 2} 486.7125{col 37}{space 1}   13.80{col 46}{space 3}0.000{col 54}{space 4} 5760.727{col 67}{space 3} 7668.605
{txt}{space 7}cid12 {c |}{col 14}{res}{space 2}-1116.348{col 26}{space 2} 762.1735{col 37}{space 1}   -1.46{col 46}{space 3}0.143{col 54}{space 4}-2610.181{col 67}{space 3} 377.4841
{txt}{space 7}cid13 {c |}{col 14}{res}{space 2} 4337.589{col 26}{space 2} 740.5375{col 37}{space 1}    5.86{col 46}{space 3}0.000{col 54}{space 4} 2886.163{col 67}{space 3} 5789.016
{txt}{space 7}cid14 {c |}{col 14}{res}{space 2}-2972.915{col 26}{space 2} 588.7648{col 37}{space 1}   -5.05{col 46}{space 3}0.000{col 54}{space 4}-4126.873{col 67}{space 3}-1818.957
{txt}{space 7}cid15 {c |}{col 14}{res}{space 2} 1481.931{col 26}{space 2} 468.8215{col 37}{space 1}    3.16{col 46}{space 3}0.002{col 54}{space 4} 563.0575{col 67}{space 3} 2400.804
{txt}{space 7}cid16 {c |}{col 14}{res}{space 2} 3115.919{col 26}{space 2} 793.4266{col 37}{space 1}    3.93{col 46}{space 3}0.000{col 54}{space 4} 1560.831{col 67}{space 3} 4671.007
{txt}{space 7}cid17 {c |}{col 14}{res}{space 2}-377.5051{col 26}{space 2} 617.5205{col 37}{space 1}   -0.61{col 46}{space 3}0.541{col 54}{space 4}-1587.823{col 67}{space 3} 832.8128
{txt}{space 7}cid18 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid19 {c |}{col 14}{res}{space 2} -1715.63{col 26}{space 2} 655.2542{col 37}{space 1}   -2.62{col 46}{space 3}0.009{col 54}{space 4}-2999.905{col 67}{space 3}-431.3557
{txt}{space 7}cid20 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 7}cid21 {c |}{col 14}{res}{space 2} 4100.261{col 26}{space 2} 604.2738{col 37}{space 1}    6.79{col 46}{space 3}0.000{col 54}{space 4} 2915.906{col 67}{space 3} 5284.616
{txt}{space 7}cid22 {c |}{col 14}{res}{space 2} 4573.169{col 26}{space 2} 683.7973{col 37}{space 1}    6.69{col 46}{space 3}0.000{col 54}{space 4} 3232.951{col 67}{space 3} 5913.387
{txt}{space 7}cid23 {c |}{col 14}{res}{space 2} 5116.822{col 26}{space 2} 625.6581{col 37}{space 1}    8.18{col 46}{space 3}0.000{col 54}{space 4} 3890.555{col 67}{space 3}  6343.09
{txt}{space 7}cid24 {c |}{col 14}{res}{space 2} 676.9251{col 26}{space 2} 530.2312{col 37}{space 1}    1.28{col 46}{space 3}0.202{col 54}{space 4}-362.3089{col 67}{space 3} 1716.159
{txt}{space 7}cid25 {c |}{col 14}{res}{space 2} 3064.142{col 26}{space 2} 531.9871{col 37}{space 1}    5.76{col 46}{space 3}0.000{col 54}{space 4} 2021.467{col 67}{space 3} 4106.818
{txt}{space 7}cid26 {c |}{col 14}{res}{space 2}  14277.5{col 26}{space 2} 1473.751{col 37}{space 1}    9.69{col 46}{space 3}0.000{col 54}{space 4} 11389.01{col 67}{space 3}    17166
{txt}{space 7}cid27 {c |}{col 14}{res}{space 2}   653.02{col 26}{space 2} 472.3497{col 37}{space 1}    1.38{col 46}{space 3}0.167{col 54}{space 4}-272.7683{col 67}{space 3} 1578.808
{txt}{space 8}year {c |}{col 14}{res}{space 2} 1.581558{col 26}{space 2} .3326365{col 37}{space 1}    4.75{col 46}{space 3}0.000{col 54}{space 4} .9296029{col 67}{space 3} 2.233514
{txt}{space 4}cidyear1 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 4}cidyear2 {c |}{col 14}{res}{space 2}-.8394302{col 26}{space 2} .1922461{col 37}{space 1}   -4.37{col 46}{space 3}0.000{col 54}{space 4}-1.216226{col 67}{space 3}-.4626348
{txt}{space 4}cidyear3 {c |}{col 14}{res}{space 2}-2.069765{col 26}{space 2} .2517306{col 37}{space 1}   -8.22{col 46}{space 3}0.000{col 54}{space 4}-2.563148{col 67}{space 3}-1.576383
{txt}{space 4}cidyear4 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 4}cidyear5 {c |}{col 14}{res}{space 2} 1.022312{col 26}{space 2}  .551761{col 37}{space 1}    1.85{col 46}{space 3}0.064{col 54}{space 4}-.0591194{col 67}{space 3} 2.103744
{txt}{space 4}cidyear6 {c |}{col 14}{res}{space 2} -1.16331{col 26}{space 2} .2267934{col 37}{space 1}   -5.13{col 46}{space 3}0.000{col 54}{space 4}-1.607817{col 67}{space 3}-.7188031
{txt}{space 4}cidyear7 {c |}{col 14}{res}{space 2}-.2713595{col 26}{space 2} .3757579{col 37}{space 1}   -0.72{col 46}{space 3}0.470{col 54}{space 4}-1.007832{col 67}{space 3} .4651125
{txt}{space 4}cidyear8 {c |}{col 14}{res}{space 2}-1.050591{col 26}{space 2} .2217806{col 37}{space 1}   -4.74{col 46}{space 3}0.000{col 54}{space 4}-1.485273{col 67}{space 3}-.6159095
{txt}{space 4}cidyear9 {c |}{col 14}{res}{space 2}-.9805672{col 26}{space 2} .2250608{col 37}{space 1}   -4.36{col 46}{space 3}0.000{col 54}{space 4}-1.421678{col 67}{space 3}-.5394561
{txt}{space 3}cidyear10 {c |}{col 14}{res}{space 2}-.7339361{col 26}{space 2} .2418689{col 37}{space 1}   -3.03{col 46}{space 3}0.002{col 54}{space 4} -1.20799{col 67}{space 3}-.2598818
{txt}{space 3}cidyear11 {c |}{col 14}{res}{space 2}-3.351459{col 26}{space 2} .2429339{col 37}{space 1}  -13.80{col 46}{space 3}0.000{col 54}{space 4}-3.827601{col 67}{space 3}-2.875317
{txt}{space 3}cidyear12 {c |}{col 14}{res}{space 2}  .533579{col 26}{space 2} .3799432{col 37}{space 1}    1.40{col 46}{space 3}0.160{col 54}{space 4}-.2110959{col 67}{space 3} 1.278254
{txt}{space 3}cidyear13 {c |}{col 14}{res}{space 2}-2.153101{col 26}{space 2} .3693096{col 37}{space 1}   -5.83{col 46}{space 3}0.000{col 54}{space 4}-2.876934{col 67}{space 3}-1.429267
{txt}{space 3}cidyear14 {c |}{col 14}{res}{space 2} 1.485516{col 26}{space 2} .2934102{col 37}{space 1}    5.06{col 46}{space 3}0.000{col 54}{space 4} .9104431{col 67}{space 3}  2.06059
{txt}{space 3}cidyear15 {c |}{col 14}{res}{space 2}-.7509326{col 26}{space 2} .2333313{col 37}{space 1}   -3.22{col 46}{space 3}0.001{col 54}{space 4}-1.208253{col 67}{space 3}-.2936117
{txt}{space 3}cidyear16 {c |}{col 14}{res}{space 2}-1.542397{col 26}{space 2} .3955481{col 37}{space 1}   -3.90{col 46}{space 3}0.000{col 54}{space 4}-2.317658{col 67}{space 3}-.7671373
{txt}{space 3}cidyear17 {c |}{col 14}{res}{space 2} .1845108{col 26}{space 2} .3077326{col 37}{space 1}    0.60{col 46}{space 3}0.549{col 54}{space 4} -.418634{col 67}{space 3} .7876556
{txt}{space 3}cidyear18 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 3}cidyear19 {c |}{col 14}{res}{space 2} .8586954{col 26}{space 2} .3264393{col 37}{space 1}    2.63{col 46}{space 3}0.009{col 54}{space 4}  .218886{col 67}{space 3} 1.498505
{txt}{space 3}cidyear20 {c |}{col 14}{res}{space 2}        0{col 26}{txt}  (omitted)
{space 3}cidyear21 {c |}{col 14}{res}{space 2}-2.056076{col 26}{space 2} .3020298{col 37}{space 1}   -6.81{col 46}{space 3}0.000{col 54}{space 4}-2.648043{col 67}{space 3}-1.464108
{txt}{space 3}cidyear22 {c |}{col 14}{res}{space 2}-2.284761{col 26}{space 2} .3409342{col 37}{space 1}   -6.70{col 46}{space 3}0.000{col 54}{space 4} -2.95298{col 67}{space 3}-1.616542
{txt}{space 3}cidyear23 {c |}{col 14}{res}{space 2}-2.553036{col 26}{space 2} .3114908{col 37}{space 1}   -8.20{col 46}{space 3}0.000{col 54}{space 4}-3.163547{col 67}{space 3}-1.942525
{txt}{space 3}cidyear24 {c |}{col 14}{res}{space 2}-.3396868{col 26}{space 2} .2637403{col 37}{space 1}   -1.29{col 46}{space 3}0.198{col 54}{space 4}-.8566084{col 67}{space 3} .1772347
{txt}{space 3}cidyear25 {c |}{col 14}{res}{space 2}-1.528697{col 26}{space 2} .2645344{col 37}{space 1}   -5.78{col 46}{space 3}0.000{col 54}{space 4}-2.047175{col 67}{space 3}-1.010219
{txt}{space 3}cidyear26 {c |}{col 14}{res}{space 2}-7.074178{col 26}{space 2} .7325874{col 37}{space 1}   -9.66{col 46}{space 3}0.000{col 54}{space 4}-8.510023{col 67}{space 3}-5.638333
{txt}{space 3}cidyear27 {c |}{col 14}{res}{space 2}-.3294453{col 26}{space 2} .2350465{col 37}{space 1}   -1.40{col 46}{space 3}0.161{col 54}{space 4} -.790128{col 67}{space 3} .1312373
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}-2669.208{col 26}{space 2} 663.2131{col 37}{space 1}   -4.02{col 46}{space 3}0.000{col 54}{space 4}-3969.082{col 67}{space 3}-1369.334
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
         rho {c |}  {res} .5837509
{txt}{hline 13}{c BT}{hline 64}

{com}. 
. 
. 
. /////// Finally, I used the different heterogeneous panel models
> xtmg phpnh prod k pop14 pop65 male lex infmo, trend 


{txt}Pesaran & Smith (1995) Mean Group estimator

All coefficients present represent averages across groups ({res}cid{txt})
Coefficient averages computed as {res}unweighted{txt} means

Mean Group type estimation{col 49}Number of obs{col 67}={col 69}{res}       456
{txt}Group variable: {res}cid{col 49}{txt}Number of groups{col 67}={col 69}{res}        24

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}        11
{txt}{col 63}avg{col 67}={col 69}{res}      19.0
{txt}{col 63}max{col 67}={col 69}{res}        20

{txt}{col 49}Wald chi2({res}7{txt}){col 67}={col 70}{res}     7.53
{txt}{col 49}Prob > chi2{col 67}={res}{col 73}0.3754

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}       phpnh{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}prod {c |}{col 14}{res}{space 2}-.3101225{col 26}{space 2} .3614224{col 37}{space 1}   -0.86{col 46}{space 3}0.391{col 54}{space 4}-1.018497{col 67}{space 3} .3982524
{txt}{space 11}k {c |}{col 14}{res}{space 2} .6021995{col 26}{space 2} .4634675{col 37}{space 1}    1.30{col 46}{space 3}0.194{col 54}{space 4}  -.30618{col 67}{space 3} 1.510579
{txt}{space 7}pop14 {c |}{col 14}{res}{space 2}-.5077664{col 26}{space 2} 3.730341{col 37}{space 1}   -0.14{col 46}{space 3}0.892{col 54}{space 4}-7.819101{col 67}{space 3} 6.803568
{txt}{space 7}pop65 {c |}{col 14}{res}{space 2}-1.181879{col 26}{space 2} 2.187323{col 37}{space 1}   -0.54{col 46}{space 3}0.589{col 54}{space 4}-5.468952{col 67}{space 3} 3.105195
{txt}{space 8}male {c |}{col 14}{res}{space 2}-24.72098{col 26}{space 2} 11.89353{col 37}{space 1}   -2.08{col 46}{space 3}0.038{col 54}{space 4}-48.03188{col 67}{space 3}-1.410087
{txt}{space 9}lex {c |}{col 14}{res}{space 2}-.2297746{col 26}{space 2} .7785586{col 37}{space 1}   -0.30{col 46}{space 3}0.768{col 54}{space 4}-1.755721{col 67}{space 3} 1.296172
{txt}{space 7}infmo {c |}{col 14}{res}{space 2} .6346307{col 26}{space 2}  .676151{col 37}{space 1}    0.94{col 46}{space 3}0.348{col 54}{space 4}-.6906009{col 67}{space 3} 1.959862
{txt}{space 2}__000007_t {c |}{col 14}{res}{space 2} 1.202462{col 26}{space 2} 1.362822{col 37}{space 1}    0.88{col 46}{space 3}0.378{col 54}{space 4}-1.468619{col 67}{space 3} 3.873544
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} 1291.271{col 26}{space 2} 592.0314{col 37}{space 1}    2.18{col 46}{space 3}0.029{col 54}{space 4} 130.9104{col 67}{space 3} 2451.631
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Root Mean Squared Error (sigma): {res}1.9255
{txt}Variable {res}__000007_t{txt} refers to a group-specific linear trend.
Share of group-specific trends significant at 5% level: {res}0.292 (= 7 trends)
{txt}
{com}. xtmg phpnh prod k pop14 pop65 male lex infmo, cce trend 


{txt}Pesaran (2006) Common Correlated Effects Mean Group estimator

All coefficients present represent averages across groups ({res}cid{txt})
Coefficient averages computed as {res}unweighted{txt} means

Mean Group type estimation{col 49}Number of obs{col 67}={col 69}{res}       456
{txt}Group variable: {res}cid{col 49}{txt}Number of groups{col 67}={col 69}{res}        24

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}        11
{txt}{col 63}avg{col 67}={col 69}{res}      19.0
{txt}{col 63}max{col 67}={col 69}{res}        20

{txt}{col 49}Wald chi2({res}7{txt}){col 67}={col 70}{res}    13.63
{txt}{col 49}Prob > chi2{col 67}={res}{col 73}0.0581

{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}         phpnh{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      z{col 48}   P>|z|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 10}prod {c |}{col 16}{res}{space 2} .3451835{col 28}{space 2} .3053988{col 39}{space 1}    1.13{col 48}{space 3}0.258{col 56}{space 4}-.2533871{col 69}{space 3}  .943754
{txt}{space 13}k {c |}{col 16}{res}{space 2} .5670582{col 28}{space 2} 1.059386{col 39}{space 1}    0.54{col 48}{space 3}0.592{col 56}{space 4}  -1.5093{col 69}{space 3} 2.643417
{txt}{space 9}pop14 {c |}{col 16}{res}{space 2}-1.529553{col 28}{space 2} 12.31116{col 39}{space 1}   -0.12{col 48}{space 3}0.901{col 56}{space 4}-25.65899{col 69}{space 3} 22.59988
{txt}{space 9}pop65 {c |}{col 16}{res}{space 2} 15.32704{col 28}{space 2}  13.0182{col 39}{space 1}    1.18{col 48}{space 3}0.239{col 56}{space 4}-10.18816{col 69}{space 3} 40.84224
{txt}{space 10}male {c |}{col 16}{res}{space 2} 21.76908{col 28}{space 2} 30.16725{col 39}{space 1}    0.72{col 48}{space 3}0.471{col 56}{space 4}-37.35765{col 69}{space 3} 80.89581
{txt}{space 11}lex {c |}{col 16}{res}{space 2}-2.281955{col 28}{space 2} 1.086117{col 39}{space 1}   -2.10{col 48}{space 3}0.036{col 56}{space 4}-4.410704{col 69}{space 3}-.1532047
{txt}{space 9}infmo {c |}{col 16}{res}{space 2}-2.066321{col 28}{space 2} 1.130406{col 39}{space 1}   -1.83{col 48}{space 3}0.068{col 56}{space 4}-4.281877{col 69}{space 3} .1492344
{txt}{space 4}__000007_t {c |}{col 16}{res}{space 2}-.4058389{col 28}{space 2} 4.235013{col 39}{space 1}   -0.10{col 48}{space 3}0.924{col 56}{space 4}-8.706313{col 69}{space 3} 7.894635
{txt}__00000M_phpnh {c |}{col 16}{res}{space 2} 1.471748{col 28}{space 2} .4267391{col 39}{space 1}    3.45{col 48}{space 3}0.001{col 56}{space 4} .6353552{col 69}{space 3} 2.308142
{txt}{space 1}__00000L_prod {c |}{col 16}{res}{space 2} .4231928{col 28}{space 2} .5676357{col 39}{space 1}    0.75{col 48}{space 3}0.456{col 56}{space 4}-.6893527{col 69}{space 3} 1.535738
{txt}{space 4}__00000L_k {c |}{col 16}{res}{space 2}-.2735877{col 28}{space 2} 1.293943{col 39}{space 1}   -0.21{col 48}{space 3}0.833{col 56}{space 4} -2.80967{col 69}{space 3} 2.262495
{txt}__00000L_pop14 {c |}{col 16}{res}{space 2} 1.915921{col 28}{space 2} 6.292077{col 39}{space 1}    0.30{col 48}{space 3}0.761{col 56}{space 4}-10.41632{col 69}{space 3} 14.24816
{txt}__00000L_pop65 {c |}{col 16}{res}{space 2}-8.455694{col 28}{space 2} 6.907119{col 39}{space 1}   -1.22{col 48}{space 3}0.221{col 56}{space 4} -21.9934{col 69}{space 3}  5.08201
{txt}{space 1}__00000L_male {c |}{col 16}{res}{space 2}-8.252235{col 28}{space 2} 19.07364{col 39}{space 1}   -0.43{col 48}{space 3}0.665{col 56}{space 4}-45.63588{col 69}{space 3} 29.13141
{txt}{space 2}__00000L_lex {c |}{col 16}{res}{space 2}-1.062621{col 28}{space 2} 1.864511{col 39}{space 1}   -0.57{col 48}{space 3}0.569{col 56}{space 4}-4.716996{col 69}{space 3} 2.591754
{txt}__00000L_infmo {c |}{col 16}{res}{space 2} 5.070288{col 28}{space 2} 2.714695{col 39}{space 1}    1.87{col 48}{space 3}0.062{col 56}{space 4}-.2504169{col 69}{space 3} 10.39099
{txt}{space 9}_cons {c |}{col 16}{res}{space 2}-634.5967{col 28}{space 2} 1117.552{col 39}{space 1}   -0.57{col 48}{space 3}0.570{col 56}{space 4}-2824.958{col 69}{space 3} 1555.765
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Root Mean Squared Error (sigma): {res}0.6249
{txt}Cross-section averaged {res}regressors{txt} are marked by the suffix: 
{res}   _phpnh, _prod, _k, _pop14, _pop65, _male, _lex, _infmo{txt} respectively.
Variable {res}__000007_t{txt} refers to a group-specific linear trend.
Share of group-specific trends significant at 5% level: {res}0.167 (= 4 trends)
{txt}Note that augmentation of the CCEMG estimator should account for the impact of
group-specific linear trends. The latter are unidentified.

{com}. xtmg phpnh prod k pop14 pop65 male lex infmo, aug trend 


{txt}Augmented Mean Group estimator (Bond & Eberhardt, 2009; Eberhardt & Teal, 2010)

Common dynamic process {res}included{txt} as additional regressor
All coefficients present represent averages across groups ({res}cid{txt})
Coefficient averages computed as {res}unweighted{txt} means

Mean Group type estimation{col 49}Number of obs{col 67}={col 69}{res}       456
{txt}Group variable: {res}cid{col 49}{txt}Number of groups{col 67}={col 69}{res}        24

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}        11
{txt}{col 63}avg{col 67}={col 69}{res}      19.0
{txt}{col 63}max{col 67}={col 69}{res}        20

{txt}{col 49}Wald chi2({res}7{txt}){col 67}={col 70}{res}     5.51
{txt}{col 49}Prob > chi2{col 67}={res}{col 73}0.5986

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}       phpnh{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}prod {c |}{col 14}{res}{space 2} -.206578{col 26}{space 2} .2831107{col 37}{space 1}   -0.73{col 46}{space 3}0.466{col 54}{space 4}-.7614648{col 67}{space 3} .3483088
{txt}{space 11}k {c |}{col 14}{res}{space 2}  .585601{col 26}{space 2} .4284139{col 37}{space 1}    1.37{col 46}{space 3}0.172{col 54}{space 4}-.2540747{col 67}{space 3} 1.425277
{txt}{space 7}pop14 {c |}{col 14}{res}{space 2} .8517532{col 26}{space 2} 4.593261{col 37}{space 1}    0.19{col 46}{space 3}0.853{col 54}{space 4}-8.150874{col 67}{space 3}  9.85438
{txt}{space 7}pop65 {c |}{col 14}{res}{space 2} 1.305707{col 26}{space 2} 3.328168{col 37}{space 1}    0.39{col 46}{space 3}0.695{col 54}{space 4}-5.217382{col 67}{space 3} 7.828795
{txt}{space 8}male {c |}{col 14}{res}{space 2} -18.5158{col 26}{space 2} 11.78475{col 37}{space 1}   -1.57{col 46}{space 3}0.116{col 54}{space 4}-41.61348{col 67}{space 3} 4.581889
{txt}{space 9}lex {c |}{col 14}{res}{space 2}-.3524959{col 26}{space 2} .7480115{col 37}{space 1}   -0.47{col 46}{space 3}0.637{col 54}{space 4}-1.818571{col 67}{space 3}  1.11358
{txt}{space 7}infmo {c |}{col 14}{res}{space 2}-.3409136{col 26}{space 2} .7169449{col 37}{space 1}   -0.48{col 46}{space 3}0.634{col 54}{space 4}  -1.7461{col 67}{space 3} 1.064273
{txt}{space 2}__00000R_c {c |}{col 14}{res}{space 2} .8499427{col 26}{space 2} .3700193{col 37}{space 1}    2.30{col 46}{space 3}0.022{col 54}{space 4} .1247183{col 67}{space 3} 1.575167
{txt}{space 2}__000007_t {c |}{col 14}{res}{space 2} 1.266458{col 26}{space 2} 1.249532{col 37}{space 1}    1.01{col 46}{space 3}0.311{col 54}{space 4} -1.18258{col 67}{space 3} 3.715497
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} 925.8632{col 26}{space 2} 577.1892{col 37}{space 1}    1.60{col 46}{space 3}0.109{col 54}{space 4}-205.4067{col 67}{space 3} 2057.133
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Root Mean Squared Error (sigma): {res}1.4809
{txt}Variable {res}__00000R_c{txt} refers to the common dynamic process.
Variable {res}__000007_t{txt} refers to a group-specific linear trend.
Share of group-specific trends significant at 5% level: {res}0.167 (= 4 trends)
{txt}
{com}. 
. 
. ////////////////////////////////////////////////////////////
> ///////////////////  PHPNH + k - Model (8) ///////////////////////
> ////////////////////////////////////////////////////////////
> 
. 
. //xtpcse phpnh prod pop14 pop65 male lex infmo tobaco alcohc cid1-cid27 year cidyear1-cidyear27, correlation(ar1)
. // I couldn't estimate the PCSE model because I obtained the following error message:
. //no time periods are common to all panels, cannot estimate disturbance
. //covariance matrix using casewise inclusion
. 
. 
. /////// Finally, I used the different heterogeneous panel models
> xtmg phpnh prod k pop14 pop65 male lex infmo tobaco alcohc, trend 
{txt}{col 2}Note: {res}25{txt} obs. dropped (panels too small)


Pesaran & Smith (1995) Mean Group estimator

All coefficients present represent averages across groups ({res}cid{txt})
Coefficient averages computed as {res}unweighted{txt} means

Mean Group type estimation{col 49}Number of obs{col 67}={col 69}{res}       259
{txt}Group variable: {res}cid{col 49}{txt}Number of groups{col 67}={col 69}{res}        14

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}        13
{txt}{col 63}avg{col 67}={col 69}{res}      18.5
{txt}{col 63}max{col 67}={col 69}{res}        20

{txt}{col 49}Wald chi2({res}9{txt}){col 67}={col 70}{res}    12.12
{txt}{col 49}Prob > chi2{col 67}={res}{col 73}0.2066

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}       phpnh{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}prod {c |}{col 14}{res}{space 2}-.4512411{col 26}{space 2} .4885485{col 37}{space 1}   -0.92{col 46}{space 3}0.356{col 54}{space 4}-1.408779{col 67}{space 3} .5062965
{txt}{space 11}k {c |}{col 14}{res}{space 2} .3873711{col 26}{space 2} .4409479{col 37}{space 1}    0.88{col 46}{space 3}0.380{col 54}{space 4}-.4768709{col 67}{space 3} 1.251613
{txt}{space 7}pop14 {c |}{col 14}{res}{space 2}  -5.8143{col 26}{space 2} 7.602273{col 37}{space 1}   -0.76{col 46}{space 3}0.444{col 54}{space 4}-20.71448{col 67}{space 3} 9.085882
{txt}{space 7}pop65 {c |}{col 14}{res}{space 2}-1.264041{col 26}{space 2} 5.366606{col 37}{space 1}   -0.24{col 46}{space 3}0.814{col 54}{space 4} -11.7824{col 67}{space 3} 9.254314
{txt}{space 8}male {c |}{col 14}{res}{space 2} -27.7223{col 26}{space 2} 21.58302{col 37}{space 1}   -1.28{col 46}{space 3}0.199{col 54}{space 4}-70.02426{col 67}{space 3} 14.57965
{txt}{space 9}lex {c |}{col 14}{res}{space 2} .3701384{col 26}{space 2} 1.454919{col 37}{space 1}    0.25{col 46}{space 3}0.799{col 54}{space 4}-2.481451{col 67}{space 3} 3.221728
{txt}{space 7}infmo {c |}{col 14}{res}{space 2}-.1435303{col 26}{space 2} .7815958{col 37}{space 1}   -0.18{col 46}{space 3}0.854{col 54}{space 4} -1.67543{col 67}{space 3} 1.388369
{txt}{space 6}tobaco {c |}{col 14}{res}{space 2}-.0016684{col 26}{space 2} .0028848{col 37}{space 1}   -0.58{col 46}{space 3}0.563{col 54}{space 4}-.0073225{col 67}{space 3} .0039857
{txt}{space 6}alcohc {c |}{col 14}{res}{space 2}-.9809074{col 26}{space 2} 1.558593{col 37}{space 1}   -0.63{col 46}{space 3}0.529{col 54}{space 4}-4.035694{col 67}{space 3}  2.07388
{txt}{space 2}__000007_t {c |}{col 14}{res}{space 2}  .266727{col 26}{space 2} 1.937145{col 37}{space 1}    0.14{col 46}{space 3}0.890{col 54}{space 4}-3.530008{col 67}{space 3} 4.063462
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} 1552.684{col 26}{space 2} 1137.073{col 37}{space 1}    1.37{col 46}{space 3}0.172{col 54}{space 4}-675.9392{col 67}{space 3} 3781.306
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Root Mean Squared Error (sigma): {res}1.9284
{txt}Variable {res}__000007_t{txt} refers to a group-specific linear trend.
Share of group-specific trends significant at 5% level: {res}0.286 (= 4 trends)
{txt}
{com}. xtmg phpnh prod k pop14 pop65 male lex infmo tobaco alcohc, cce trend 
{txt}{col 2}Note: {res}25{txt} obs. dropped (panels too small)


Pesaran (2006) Common Correlated Effects Mean Group estimator

All coefficients present represent averages across groups ({res}cid{txt})
Coefficient averages computed as {res}unweighted{txt} means

Mean Group type estimation{col 49}Number of obs{col 67}={col 69}{res}       259
{txt}Group variable: {res}cid{col 49}{txt}Number of groups{col 67}={col 69}{res}        14

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}        13
{txt}{col 63}avg{col 67}={col 69}{res}      18.5
{txt}{col 63}max{col 67}={col 69}{res}        20

{txt}{col 49}Wald chi2({res}9{txt}){col 67}={col 70}{res}    19.94
{txt}{col 49}Prob > chi2{col 67}={res}{col 73}0.0183

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}          phpnh{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 11}prod {c |}{col 17}{res}{space 2}-.7732353{col 29}{space 2} .8056712{col 40}{space 1}   -0.96{col 49}{space 3}0.337{col 57}{space 4}-2.352322{col 70}{space 3} .8058513
{txt}{space 14}k {c |}{col 17}{res}{space 2}-2.740948{col 29}{space 2} 2.187912{col 40}{space 1}   -1.25{col 49}{space 3}0.210{col 57}{space 4}-7.029177{col 70}{space 3} 1.547282
{txt}{space 10}pop14 {c |}{col 17}{res}{space 2}  10.6774{col 29}{space 2} 14.48191{col 40}{space 1}    0.74{col 49}{space 3}0.461{col 57}{space 4}-17.70663{col 70}{space 3} 39.06143
{txt}{space 10}pop65 {c |}{col 17}{res}{space 2}   10.596{col 29}{space 2} 11.45174{col 40}{space 1}    0.93{col 49}{space 3}0.355{col 57}{space 4}  -11.849{col 70}{space 3}   33.041
{txt}{space 11}male {c |}{col 17}{res}{space 2}-2.325428{col 29}{space 2} 17.41246{col 40}{space 1}   -0.13{col 49}{space 3}0.894{col 57}{space 4}-36.45322{col 70}{space 3} 31.80236
{txt}{space 12}lex {c |}{col 17}{res}{space 2} 1.302783{col 29}{space 2} 4.190348{col 40}{space 1}    0.31{col 49}{space 3}0.756{col 57}{space 4}-6.910148{col 70}{space 3} 9.515715
{txt}{space 10}infmo {c |}{col 17}{res}{space 2}-3.404748{col 29}{space 2} 2.921967{col 40}{space 1}   -1.17{col 49}{space 3}0.244{col 57}{space 4}-9.131699{col 70}{space 3} 2.322203
{txt}{space 9}tobaco {c |}{col 17}{res}{space 2}  .003676{col 29}{space 2} .0125777{col 40}{space 1}    0.29{col 49}{space 3}0.770{col 57}{space 4}-.0209758{col 70}{space 3} .0283278
{txt}{space 9}alcohc {c |}{col 17}{res}{space 2} -8.51103{col 29}{space 2} 6.122976{col 40}{space 1}   -1.39{col 49}{space 3}0.165{col 57}{space 4}-20.51184{col 70}{space 3} 3.489783
{txt}{space 5}__000007_t {c |}{col 17}{res}{space 2} 7.603052{col 29}{space 2} 5.969553{col 40}{space 1}    1.27{col 49}{space 3}0.203{col 57}{space 4}-4.097057{col 70}{space 3} 19.30316
{txt}{space 1}__00000M_phpnh {c |}{col 17}{res}{space 2} .8919433{col 29}{space 2} .4574016{col 40}{space 1}    1.95{col 49}{space 3}0.051{col 57}{space 4}-.0045475{col 70}{space 3} 1.788434
{txt}{space 2}__00000L_prod {c |}{col 17}{res}{space 2} 2.414509{col 29}{space 2} 1.103994{col 40}{space 1}    2.19{col 49}{space 3}0.029{col 57}{space 4} .2507203{col 70}{space 3} 4.578298
{txt}{space 5}__00000L_k {c |}{col 17}{res}{space 2} 3.439389{col 29}{space 2} 2.274302{col 40}{space 1}    1.51{col 49}{space 3}0.130{col 57}{space 4}-1.018161{col 70}{space 3} 7.896938
{txt}{space 1}__00000L_pop14 {c |}{col 17}{res}{space 2} 12.18465{col 29}{space 2} 9.645952{col 40}{space 1}    1.26{col 49}{space 3}0.207{col 57}{space 4} -6.72107{col 70}{space 3} 31.09037
{txt}{space 1}__00000L_pop65 {c |}{col 17}{res}{space 2} 2.008433{col 29}{space 2} 10.66034{col 40}{space 1}    0.19{col 49}{space 3}0.851{col 57}{space 4}-18.88545{col 70}{space 3} 22.90231
{txt}{space 2}__00000L_male {c |}{col 17}{res}{space 2} 1.421135{col 29}{space 2} 16.66414{col 40}{space 1}    0.09{col 49}{space 3}0.932{col 57}{space 4}-31.23998{col 70}{space 3} 34.08225
{txt}{space 3}__00000L_lex {c |}{col 17}{res}{space 2}-8.142894{col 29}{space 2}  5.75006{col 40}{space 1}   -1.42{col 49}{space 3}0.157{col 57}{space 4} -19.4128{col 70}{space 3} 3.127016
{txt}{space 1}__00000L_infmo {c |}{col 17}{res}{space 2} 16.41738{col 29}{space 2} 7.066039{col 40}{space 1}    2.32{col 49}{space 3}0.020{col 57}{space 4} 2.568201{col 70}{space 3} 30.26656
{txt}__00000L_tobaco {c |}{col 17}{res}{space 2} .0244232{col 29}{space 2} .0138251{col 40}{space 1}    1.77{col 49}{space 3}0.077{col 57}{space 4}-.0026735{col 70}{space 3} .0515199
{txt}__00000L_alcohc {c |}{col 17}{res}{space 2} 11.01127{col 29}{space 2} 6.389634{col 40}{space 1}    1.72{col 49}{space 3}0.085{col 57}{space 4} -1.51218{col 70}{space 3} 23.53473
{txt}{space 10}_cons {c |}{col 17}{res}{space 2}-468.6702{col 29}{space 2} 925.0264{col 40}{space 1}   -0.51{col 49}{space 3}0.612{col 57}{space 4}-2281.689{col 70}{space 3} 1344.348
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Root Mean Squared Error (sigma): {res}0.0000
{txt}Cross-section averaged {res}regressors{txt} are marked by the suffix: 
{res}   _phpnh, _prod, _k, _pop14, _pop65, _male, _lex, _infmo, _tobaco, _alcohc{txt} respectively.
Variable {res}__000007_t{txt} refers to a group-specific linear trend.
Share of group-specific trends significant at 5% level: {res}0.000 (= 0 trends)
{txt}Note that augmentation of the CCEMG estimator should account for the impact of
group-specific linear trends. The latter are unidentified.

{com}. xtmg phpnh prod k pop14 pop65 male lex infmo tobaco alcohc, aug trend 
{txt}{col 2}Note: {res}25{txt} obs. dropped (panels too small)


Augmented Mean Group estimator (Bond & Eberhardt, 2009; Eberhardt & Teal, 2010)

Common dynamic process {res}included{txt} as additional regressor
All coefficients present represent averages across groups ({res}cid{txt})
Coefficient averages computed as {res}unweighted{txt} means

Mean Group type estimation{col 49}Number of obs{col 67}={col 69}{res}       259
{txt}Group variable: {res}cid{col 49}{txt}Number of groups{col 67}={col 69}{res}        14

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}        13
{txt}{col 63}avg{col 67}={col 69}{res}      18.5
{txt}{col 63}max{col 67}={col 69}{res}        20

{txt}{col 49}Wald chi2({res}9{txt}){col 67}={col 70}{res}    11.37
{txt}{col 49}Prob > chi2{col 67}={res}{col 73}0.2512

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}       phpnh{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}prod {c |}{col 14}{res}{space 2}-.2792839{col 26}{space 2} .3051292{col 37}{space 1}   -0.92{col 46}{space 3}0.360{col 54}{space 4}-.8773261{col 67}{space 3} .3187583
{txt}{space 11}k {c |}{col 14}{res}{space 2}-.0313846{col 26}{space 2} .4156474{col 37}{space 1}   -0.08{col 46}{space 3}0.940{col 54}{space 4}-.8460386{col 67}{space 3} .7832693
{txt}{space 7}pop14 {c |}{col 14}{res}{space 2} 3.059983{col 26}{space 2}  8.40244{col 37}{space 1}    0.36{col 46}{space 3}0.716{col 54}{space 4} -13.4085{col 67}{space 3} 19.52846
{txt}{space 7}pop65 {c |}{col 14}{res}{space 2} 3.744591{col 26}{space 2} 7.100043{col 37}{space 1}    0.53{col 46}{space 3}0.598{col 54}{space 4}-10.17124{col 67}{space 3} 17.66042
{txt}{space 8}male {c |}{col 14}{res}{space 2}-36.51842{col 26}{space 2} 29.90453{col 37}{space 1}   -1.22{col 46}{space 3}0.222{col 54}{space 4}-95.13021{col 67}{space 3} 22.09338
{txt}{space 9}lex {c |}{col 14}{res}{space 2} .2948074{col 26}{space 2} 1.347739{col 37}{space 1}    0.22{col 46}{space 3}0.827{col 54}{space 4}-2.346713{col 67}{space 3} 2.936328
{txt}{space 7}infmo {c |}{col 14}{res}{space 2}-.8418293{col 26}{space 2} 1.222954{col 37}{space 1}   -0.69{col 46}{space 3}0.491{col 54}{space 4}-3.238776{col 67}{space 3} 1.555117
{txt}{space 6}tobaco {c |}{col 14}{res}{space 2}-.0007127{col 26}{space 2} .0031268{col 37}{space 1}   -0.23{col 46}{space 3}0.820{col 54}{space 4}-.0068412{col 67}{space 3} .0054158
{txt}{space 6}alcohc {c |}{col 14}{res}{space 2}-2.418072{col 26}{space 2} 1.261718{col 37}{space 1}   -1.92{col 46}{space 3}0.055{col 54}{space 4}-4.890993{col 67}{space 3} .0548494
{txt}{space 2}__00000R_c {c |}{col 14}{res}{space 2} .9537806{col 26}{space 2} .4460059{col 37}{space 1}    2.14{col 46}{space 3}0.032{col 54}{space 4} .0796251{col 67}{space 3} 1.827936
{txt}{space 2}__000007_t {c |}{col 14}{res}{space 2} 1.661347{col 26}{space 2} 1.968609{col 37}{space 1}    0.84{col 46}{space 3}0.399{col 54}{space 4}-2.197055{col 67}{space 3}  5.51975
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} 1795.077{col 26}{space 2} 1569.351{col 37}{space 1}    1.14{col 46}{space 3}0.253{col 54}{space 4}-1280.795{col 67}{space 3} 4870.948
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Root Mean Squared Error (sigma): {res}1.3313
{txt}Variable {res}__00000R_c{txt} refers to the common dynamic process.
Variable {res}__000007_t{txt} refers to a group-specific linear trend.
Share of group-specific trends significant at 5% level: {res}0.214 (= 3 trends)
{txt}
{com}. 
. 
. ////////////////////////////////////////////////////////////
> ///////////////////  PHPNH + k - Model (9) ///////////////////////
> ////////////////////////////////////////////////////////////
> 
. 
. /////// Next I estimate the model using PCSE
> //xtpcse phpnh prod pop14 pop65 male lex infmo tobaco alcohc gdpg cid1-cid27 year cidyear1-cidyear27, correlation(ar1)
. // I couldn't estimate the PCSE model because I obtained the following error message:
. //no time periods are common to all panels, cannot estimate disturbance
. //covariance matrix using casewise inclusion
. 
. /////// Finally, I used the different heterogeneous panel models
> xtmg phpnh prod k pop14 pop65 male lex infmo tobaco alcohc gdpg, trend 
{txt}{col 2}Note: {res}25{txt} obs. dropped (panels too small)


Pesaran & Smith (1995) Mean Group estimator

All coefficients present represent averages across groups ({res}cid{txt})
Coefficient averages computed as {res}unweighted{txt} means

Mean Group type estimation{col 49}Number of obs{col 67}={col 69}{res}       259
{txt}Group variable: {res}cid{col 49}{txt}Number of groups{col 67}={col 69}{res}        14

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}        13
{txt}{col 63}avg{col 67}={col 69}{res}      18.5
{txt}{col 63}max{col 67}={col 69}{res}        20

{txt}{col 49}Wald chi2({res}10{txt}){col 67}={col 70}{res}    15.07
{txt}{col 49}Prob > chi2{col 67}={res}{col 73}0.1294

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}       phpnh{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}prod {c |}{col 14}{res}{space 2} .3198505{col 26}{space 2}  .798086{col 37}{space 1}    0.40{col 46}{space 3}0.689{col 54}{space 4}-1.244369{col 67}{space 3}  1.88407
{txt}{space 11}k {c |}{col 14}{res}{space 2} .4209046{col 26}{space 2} .5592198{col 37}{space 1}    0.75{col 46}{space 3}0.452{col 54}{space 4} -.675146{col 67}{space 3} 1.516955
{txt}{space 7}pop14 {c |}{col 14}{res}{space 2}-4.070161{col 26}{space 2} 7.667956{col 37}{space 1}   -0.53{col 46}{space 3}0.596{col 54}{space 4}-19.09908{col 67}{space 3} 10.95876
{txt}{space 7}pop65 {c |}{col 14}{res}{space 2} -.044926{col 26}{space 2} 6.061308{col 37}{space 1}   -0.01{col 46}{space 3}0.994{col 54}{space 4}-11.92487{col 67}{space 3} 11.83502
{txt}{space 8}male {c |}{col 14}{res}{space 2}-39.40261{col 26}{space 2} 30.70128{col 37}{space 1}   -1.28{col 46}{space 3}0.199{col 54}{space 4}-99.57602{col 67}{space 3}  20.7708
{txt}{space 9}lex {c |}{col 14}{res}{space 2} .6355193{col 26}{space 2} 1.520495{col 37}{space 1}    0.42{col 46}{space 3}0.676{col 54}{space 4}-2.344596{col 67}{space 3} 3.615634
{txt}{space 7}infmo {c |}{col 14}{res}{space 2}-.6145174{col 26}{space 2} 1.373823{col 37}{space 1}   -0.45{col 46}{space 3}0.655{col 54}{space 4} -3.30716{col 67}{space 3} 2.078126
{txt}{space 6}tobaco {c |}{col 14}{res}{space 2} .0015902{col 26}{space 2} .0062639{col 37}{space 1}    0.25{col 46}{space 3}0.800{col 54}{space 4}-.0106868{col 67}{space 3} .0138671
{txt}{space 6}alcohc {c |}{col 14}{res}{space 2}-1.637234{col 26}{space 2} 1.710001{col 37}{space 1}   -0.96{col 46}{space 3}0.338{col 54}{space 4}-4.988774{col 67}{space 3} 1.714307
{txt}{space 8}gdpg {c |}{col 14}{res}{space 2}-.1824755{col 26}{space 2} .1739861{col 37}{space 1}   -1.05{col 46}{space 3}0.294{col 54}{space 4}-.5234819{col 67}{space 3} .1585309
{txt}{space 2}__000007_t {c |}{col 14}{res}{space 2}-.4214344{col 26}{space 2} 1.900072{col 37}{space 1}   -0.22{col 46}{space 3}0.824{col 54}{space 4}-4.145506{col 67}{space 3} 3.302637
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} 2026.191{col 26}{space 2} 1484.299{col 37}{space 1}    1.37{col 46}{space 3}0.172{col 54}{space 4}-882.9823{col 67}{space 3} 4935.364
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Root Mean Squared Error (sigma): {res}1.8263
{txt}Variable {res}__000007_t{txt} refers to a group-specific linear trend.
Share of group-specific trends significant at 5% level: {res}0.143 (= 2 trends)
{txt}
{com}. xtmg phpnh prod k pop14 pop65 male lex infmo tobaco alcohc gdpg, cce trend 
{txt}{col 2}Note: {res}25{txt} obs. dropped (panels too small)


Pesaran (2006) Common Correlated Effects Mean Group estimator

All coefficients present represent averages across groups ({res}cid{txt})
Coefficient averages computed as {res}unweighted{txt} means

Mean Group type estimation{col 49}Number of obs{col 67}={col 69}{res}       259
{txt}Group variable: {res}cid{col 49}{txt}Number of groups{col 67}={col 69}{res}        14

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}        13
{txt}{col 63}avg{col 67}={col 69}{res}      18.5
{txt}{col 63}max{col 67}={col 69}{res}        20

{txt}{col 49}Wald chi2({res}10{txt}){col 67}={col 70}{res}    52.59
{txt}{col 49}Prob > chi2{col 67}={res}{col 73}0.0000

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}          phpnh{col 17}{c |}      Coef.{col 29}   Std. Err.{col 41}      z{col 49}   P>|z|{col 57}     [95% Con{col 70}f. Interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 11}prod {c |}{col 17}{res}{space 2}-.9916411{col 29}{space 2} 1.499369{col 40}{space 1}   -0.66{col 49}{space 3}0.508{col 57}{space 4} -3.93035{col 70}{space 3} 1.947068
{txt}{space 14}k {c |}{col 17}{res}{space 2} 1.119136{col 29}{space 2} 2.690658{col 40}{space 1}    0.42{col 49}{space 3}0.677{col 57}{space 4}-4.154457{col 70}{space 3} 6.392728
{txt}{space 10}pop14 {c |}{col 17}{res}{space 2} 2.050271{col 29}{space 2} 4.717282{col 40}{space 1}    0.43{col 49}{space 3}0.664{col 57}{space 4}-7.195432{col 70}{space 3} 11.29597
{txt}{space 10}pop65 {c |}{col 17}{res}{space 2} 3.327171{col 29}{space 2} 5.780438{col 40}{space 1}    0.58{col 49}{space 3}0.565{col 57}{space 4}-8.002279{col 70}{space 3} 14.65662
{txt}{space 11}male {c |}{col 17}{res}{space 2} -5.40835{col 29}{space 2} 8.143332{col 40}{space 1}   -0.66{col 49}{space 3}0.507{col 57}{space 4}-21.36899{col 70}{space 3} 10.55229
{txt}{space 12}lex {c |}{col 17}{res}{space 2} .0619407{col 29}{space 2} 3.700024{col 40}{space 1}    0.02{col 49}{space 3}0.987{col 57}{space 4}-7.189974{col 70}{space 3} 7.313855
{txt}{space 10}infmo {c |}{col 17}{res}{space 2}-4.468815{col 29}{space 2} 7.372654{col 40}{space 1}   -0.61{col 49}{space 3}0.544{col 57}{space 4}-18.91895{col 70}{space 3} 9.981321
{txt}{space 9}tobaco {c |}{col 17}{res}{space 2} .0098524{col 29}{space 2} .0124715{col 40}{space 1}    0.79{col 49}{space 3}0.430{col 57}{space 4}-.0145914{col 70}{space 3} .0342962
{txt}{space 9}alcohc {c |}{col 17}{res}{space 2}-2.770846{col 29}{space 2} 4.269043{col 40}{space 1}   -0.65{col 49}{space 3}0.516{col 57}{space 4}-11.13802{col 70}{space 3} 5.596325
{txt}{space 11}gdpg {c |}{col 17}{res}{space 2}-.2779918{col 29}{space 2}  .629898{col 40}{space 1}   -0.44{col 49}{space 3}0.659{col 57}{space 4}-1.512569{col 70}{space 3} .9565857
{txt}{space 5}__000007_t {c |}{col 17}{res}{space 2}-.9400707{col 29}{space 2} 2.652062{col 40}{space 1}   -0.35{col 49}{space 3}0.723{col 57}{space 4}-6.138017{col 70}{space 3} 4.257876
{txt}{space 1}__00000M_phpnh {c |}{col 17}{res}{space 2} .7954368{col 29}{space 2} .4589467{col 40}{space 1}    1.73{col 49}{space 3}0.083{col 57}{space 4}-.1040823{col 70}{space 3} 1.694956
{txt}{space 2}__00000L_prod {c |}{col 17}{res}{space 2}   1.6833{col 29}{space 2} 1.856926{col 40}{space 1}    0.91{col 49}{space 3}0.365{col 57}{space 4}-1.956209{col 70}{space 3} 5.322809
{txt}{space 5}__00000L_k {c |}{col 17}{res}{space 2}-1.694037{col 29}{space 2} 3.729409{col 40}{space 1}   -0.45{col 49}{space 3}0.650{col 57}{space 4}-9.003544{col 70}{space 3} 5.615469
{txt}{space 1}__00000L_pop14 {c |}{col 17}{res}{space 2}  -4.9046{col 29}{space 2}  4.40997{col 40}{space 1}   -1.11{col 49}{space 3}0.266{col 57}{space 4}-13.54798{col 70}{space 3} 3.738782
{txt}{space 1}__00000L_pop65 {c |}{col 17}{res}{space 2}-1.961465{col 29}{space 2} 4.148218{col 40}{space 1}   -0.47{col 49}{space 3}0.636{col 57}{space 4}-10.09182{col 70}{space 3} 6.168892
{txt}{space 2}__00000L_male {c |}{col 17}{res}{space 2}        0{col 29}{txt}  (omitted)
{space 3}__00000L_lex {c |}{col 17}{res}{space 2}-.3816794{col 29}{space 2} 3.275737{col 40}{space 1}   -0.12{col 49}{space 3}0.907{col 57}{space 4}-6.802006{col 70}{space 3} 6.038647
{txt}{space 1}__00000L_infmo {c |}{col 17}{res}{space 2} 6.755409{col 29}{space 2} 5.667823{col 40}{space 1}    1.19{col 49}{space 3}0.233{col 57}{space 4} -4.35332{col 70}{space 3} 17.86414
{txt}__00000L_tobaco {c |}{col 17}{res}{space 2} .0017377{col 29}{space 2} .0131645{col 40}{space 1}    0.13{col 49}{space 3}0.895{col 57}{space 4}-.0240643{col 70}{space 3} .0275396
{txt}__00000L_alcohc {c |}{col 17}{res}{space 2} -5.18471{col 29}{space 2} 6.466929{col 40}{space 1}   -0.80{col 49}{space 3}0.423{col 57}{space 4}-17.85966{col 70}{space 3} 7.490238
{txt}{space 2}__00000L_gdpg {c |}{col 17}{res}{space 2}-.2356304{col 29}{space 2} .6867662{col 40}{space 1}   -0.34{col 49}{space 3}0.732{col 57}{space 4}-1.581667{col 70}{space 3} 1.110407
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} 428.3113{col 29}{space 2} 431.8316{col 40}{space 1}    0.99{col 49}{space 3}0.321{col 57}{space 4}-418.0631{col 70}{space 3} 1274.686
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Root Mean Squared Error (sigma): {res}0.0000
{txt}Cross-section averaged {res}regressors{txt} are marked by the suffix: 
{res}   _phpnh, _prod, _k, _pop14, _pop65, _male, _lex, _infmo, _tobaco, _alcohc, _gdpg{txt} respectively.
Variable {res}__000007_t{txt} refers to a group-specific linear trend.
Share of group-specific trends significant at 5% level: {res}0.000 (= 0 trends)
{txt}Note that augmentation of the CCEMG estimator should account for the impact of
group-specific linear trends. The latter are unidentified.

{com}. xtmg phpnh prod k pop14 pop65 male lex infmo tobaco alcohc gdpg, aug trend 
{txt}{col 2}Note: {res}38{txt} obs. dropped (panels too small)


Augmented Mean Group estimator (Bond & Eberhardt, 2009; Eberhardt & Teal, 2010)

Common dynamic process {res}included{txt} as additional regressor
All coefficients present represent averages across groups ({res}cid{txt})
Coefficient averages computed as {res}unweighted{txt} means

Mean Group type estimation{col 49}Number of obs{col 67}={col 69}{res}       246
{txt}Group variable: {res}cid{col 49}{txt}Number of groups{col 67}={col 69}{res}        13

{txt}{col 49}Obs per group:
{col 63}min{col 67}={col 69}{res}        14
{txt}{col 63}avg{col 67}={col 69}{res}      18.9
{txt}{col 63}max{col 67}={col 69}{res}        20

{txt}{col 49}Wald chi2({res}10{txt}){col 67}={col 70}{res}    20.55
{txt}{col 49}Prob > chi2{col 67}={res}{col 73}0.0244

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}       phpnh{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}prod {c |}{col 14}{res}{space 2}-.1317759{col 26}{space 2} .3872322{col 37}{space 1}   -0.34{col 46}{space 3}0.734{col 54}{space 4}-.8907371{col 67}{space 3} .6271853
{txt}{space 11}k {c |}{col 14}{res}{space 2} .3408455{col 26}{space 2} .5412924{col 37}{space 1}    0.63{col 46}{space 3}0.529{col 54}{space 4}-.7200681{col 67}{space 3} 1.401759
{txt}{space 7}pop14 {c |}{col 14}{res}{space 2} 8.617395{col 26}{space 2} 10.14631{col 37}{space 1}    0.85{col 46}{space 3}0.396{col 54}{space 4}-11.26902{col 67}{space 3} 28.50381
{txt}{space 7}pop65 {c |}{col 14}{res}{space 2} .8694918{col 26}{space 2} 7.987278{col 37}{space 1}    0.11{col 46}{space 3}0.913{col 54}{space 4}-14.78529{col 67}{space 3} 16.52427
{txt}{space 8}male {c |}{col 14}{res}{space 2}-30.72153{col 26}{space 2} 34.26429{col 37}{space 1}   -0.90{col 46}{space 3}0.370{col 54}{space 4} -97.8783{col 67}{space 3} 36.43524
{txt}{space 9}lex {c |}{col 14}{res}{space 2}-.3883962{col 26}{space 2} 1.150975{col 37}{space 1}   -0.34{col 46}{space 3}0.736{col 54}{space 4}-2.644266{col 67}{space 3} 1.867474
{txt}{space 7}infmo {c |}{col 14}{res}{space 2} -2.44302{col 26}{space 2} 2.000103{col 37}{space 1}   -1.22{col 46}{space 3}0.222{col 54}{space 4}-6.363149{col 67}{space 3} 1.477109
{txt}{space 6}tobaco {c |}{col 14}{res}{space 2} -.002906{col 26}{space 2} .0040183{col 37}{space 1}   -0.72{col 46}{space 3}0.470{col 54}{space 4}-.0107816{col 67}{space 3} .0049696
{txt}{space 6}alcohc {c |}{col 14}{res}{space 2}-2.301455{col 26}{space 2} 1.192592{col 37}{space 1}   -1.93{col 46}{space 3}0.054{col 54}{space 4}-4.638892{col 67}{space 3} .0359817
{txt}{space 8}gdpg {c |}{col 14}{res}{space 2}-.1369866{col 26}{space 2} .1513855{col 37}{space 1}   -0.90{col 46}{space 3}0.366{col 54}{space 4}-.4336968{col 67}{space 3} .1597235
{txt}{space 2}__00000R_c {c |}{col 14}{res}{space 2} .8205479{col 26}{space 2} .5023132{col 37}{space 1}    1.63{col 46}{space 3}0.102{col 54}{space 4}-.1639679{col 67}{space 3} 1.805064
{txt}{space 2}__000007_t {c |}{col 14}{res}{space 2}   3.4162{col 26}{space 2} 2.188297{col 37}{space 1}    1.56{col 46}{space 3}0.118{col 54}{space 4}-.8727826{col 67}{space 3} 7.705182
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} 1458.307{col 26}{space 2} 1792.746{col 37}{space 1}    0.81{col 46}{space 3}0.416{col 54}{space 4}-2055.411{col 67}{space 3} 4972.024
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
Root Mean Squared Error (sigma): {res}1.1724
{txt}Variable {res}__00000R_c{txt} refers to the common dynamic process.
Variable {res}__000007_t{txt} refers to a group-specific linear trend.
Share of group-specific trends significant at 5% level: {res}0.077 (= 1 trends)
{txt}
{com}. 
. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}\\file\UsersW$\wrr15\Home\My Documents\My Files\ATANDA AKINWANDE\BCD PAPER\HEALTH ECONOMICS revision\NEW DATA AND PROGRAMS (20171021)\TABLE4.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res} 9 Nov 2017, 19:03:23
{txt}{.-}
{smcl}
{txt}{sf}{ul off}